diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-20 01:21:19 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-20 01:21:19 +0000 |
commit | b74e1b21dbb15d67945e36153368bb4aa78dcd68 (patch) | |
tree | 522b249b771148459e5e42b06dfa0910bf315007 /vm_core.h | |
parent | 49c0c51056377819d6289d04baa69e38d9871d24 (diff) | |
download | ruby-b74e1b21dbb15d67945e36153368bb4aa78dcd68.tar.gz |
revert r37730
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -874,15 +874,15 @@ int rb_threadptr_async_errinfo_active_p(rb_thread_t *th); void rb_thread_lock_unlock(rb_thread_lock_t *); void rb_thread_lock_destroy(rb_thread_lock_t *); -#define RUBY_VM_CHECK_INTS_BLOCKING(cur_th) do { \ - if (UNLIKELY((cur_th)->interrupt_flag)) { \ - rb_threadptr_execute_interrupts(cur_th, 1); \ +#define RUBY_VM_CHECK_INTS_BLOCKING(th) do { \ + if (UNLIKELY((th)->interrupt_flag)) { \ + rb_threadptr_execute_interrupts(th, 1); \ } \ } while (0) -#define RUBY_VM_CHECK_INTS(cur_th) do { \ - if (UNLIKELY((cur_th)->interrupt_flag)) { \ - rb_threadptr_execute_interrupts(cur_th, 0); \ +#define RUBY_VM_CHECK_INTS(th) do { \ + if (UNLIKELY((th)->interrupt_flag)) { \ + rb_threadptr_execute_interrupts(th, 0); \ } \ } while (0) |