diff options
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index c523509b9f..09d8148375 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -2282,7 +2282,7 @@ ubf_ppoll_sleep(void *ignore) #define THREAD_BLOCKING_YIELD(th) do { \ const rb_thread_t *next; \ struct rb_thread_sched *sched = TH_SCHED(th); \ - RB_GC_SAVE_MACHINE_CONTEXT(th); \ + RB_VM_SAVE_MACHINE_CONTEXT(th); \ rb_native_mutex_lock(&sched->lock); \ next = thread_sched_to_waiting_common(sched); \ rb_native_mutex_unlock(&sched->lock); \ |