diff options
author | John Hawthorn <[email protected]> | 2023-12-03 18:13:25 -0800 |
---|---|---|
committer | John Hawthorn <[email protected]> | 2023-12-03 18:37:06 -0800 |
commit | 85bc80a51be0ceedcc57e7b6b779e6f8f885859e (patch) | |
tree | 6f868ca8df3b07da28a85bb35fb9e9599f7501b0 /thread_pthread.c | |
parent | 9c5e1b71891dab66544de2fe3311c45ede014fdd (diff) |
Revert "Add missing GVL hooks for M:N threads and ractors"
This reverts commit ad54fbf281ca1935e79f4df1460b0106ba76761e.
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 64b636ec08..a8cf8c6126 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -1304,8 +1304,6 @@ rb_ractor_sched_sleep(rb_execution_context_t *ec, rb_ractor_t *cr, rb_unblock_fu RB_VM_SAVE_MACHINE_CONTEXT(th); th->status = THREAD_STOPPED_FOREVER; - RB_INTERNAL_THREAD_HOOK(RUBY_INTERNAL_THREAD_EVENT_SUSPENDED, th); - bool can_direct_transfer = !th_has_dedicated_nt(th); thread_sched_wakeup_next_thread(sched, th, can_direct_transfer); thread_sched_wait_running_turn(sched, th, can_direct_transfer); |