summaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-06-14 17:56:53 +1200
committerGitHub <noreply@github.com>2021-06-14 17:56:53 +1200
commit050a89543952a2c9e7c9bc938f4fdb538f6c9278 (patch)
tree892fdfcf5188842ca6ae4e176a57284aa2a1e0b0 /load.c
parent626427c2e0f886ff8353c5faa8254699afd88ca8 (diff)
downloadruby-050a89543952a2c9e7c9bc938f4fdb538f6c9278.tar.gz
Wake up join list within thread EC context. (#4471)
* Wake up join list within thread EC context. * Consume items from join list so that they are not re-executed. If `rb_fiber_scheduler_unblock` raises an exception, it can result in a segfault if `rb_threadptr_join_list_wakeup` is not within a valid EC. This change moves `rb_threadptr_join_list_wakeup` into the thread's top level EC which initially caused an infinite loop because on exception will retry. We explicitly remove items from the thread's join list to avoid this situation. * Verify the required scheduler interface. * Test several scheduler hooks methods with broken `unblock` implementation.
Diffstat (limited to 'load.c')
0 files changed, 0 insertions, 0 deletions