summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/vm_core.h b/vm_core.h
index 1775ed4fd2..dd9e3872e2 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -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)