diff options
author | Matt Valentine-House <[email protected]> | 2023-03-07 18:41:04 +0000 |
---|---|---|
committer | Matt Valentine-House <[email protected]> | 2023-03-15 21:26:26 +0000 |
commit | 60b8c7d9fd2e2cb82dae7189a66335b3bec9005f (patch) | |
tree | b582f3036e3e0f0bae68ff857b42837b5bac21a1 /thread_pthread.c | |
parent | 5791aa6263f730e3b2c8d4a4fb7a054539cf6135 (diff) |
Rename RB_GC_SAVE_MACHINE_CONTEXT -> RB_VM_SAVE_MACHINE_CONTEXT
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7465
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); \ |