From 60b8c7d9fd2e2cb82dae7189a66335b3bec9005f Mon Sep 17 00:00:00 2001 From: Matt Valentine-House Date: Tue, 7 Mar 2023 18:41:04 +0000 Subject: Rename RB_GC_SAVE_MACHINE_CONTEXT -> RB_VM_SAVE_MACHINE_CONTEXT --- thread_pthread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread_pthread.c') 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); \ -- cgit v1.2.1