summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
authorMatt Valentine-House <matt@eightbitraptor.com>2023-03-07 18:41:04 +0000
committerMatt Valentine-House <matt@eightbitraptor.com>2023-03-15 21:26:26 +0000
commit60b8c7d9fd2e2cb82dae7189a66335b3bec9005f (patch)
treeb582f3036e3e0f0bae68ff857b42837b5bac21a1 /thread_pthread.c
parent5791aa6263f730e3b2c8d4a4fb7a054539cf6135 (diff)
downloadruby-60b8c7d9fd2e2cb82dae7189a66335b3bec9005f.tar.gz
Rename RB_GC_SAVE_MACHINE_CONTEXT -> RB_VM_SAVE_MACHINE_CONTEXT
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c2
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); \