summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
-rw-r--r--thread.c3
1 files changed, 3 insertions, 0 deletions
@@ -4740,6 +4740,9 @@ rb_thread_atfork_internal(rb_thread_t *th, void (*atfork)(rb_thread_t *, const r
// OK. Only this thread accesses:
ccan_list_for_each(&vm->ractor.set, r, vmlr_node) {
ccan_list_for_each(&r->threads.set, i, lt_node) {
atfork(i, th);
}