summaryrefslogtreecommitdiff
path: root/ractor_core.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-12-24 04:29:59 +0900
committerKoichi Sasada <ko1@atdot.net>2020-12-24 04:30:50 +0900
commit7340e7f82780f529d80490045f5ea3e2559d563c (patch)
tree5d0784a0de345d637e1c211c6558f53b81a3308a /ractor_core.h
parent7fcb6b3dbe7517fe5426fdb6871cd4940a71b7e8 (diff)
introduce rb_ractor_atfork()
to reset main ractor at fork().
Diffstat (limited to 'ractor_core.h')
-rw-r--r--ractor_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ractor_core.h b/ractor_core.h
index 4451e06be1..0aa66f65d0 100644
--- a/ractor_core.h
+++ b/ractor_core.h
@@ -182,6 +182,7 @@ void rb_ractor_terminate_interrupt_main_thread(rb_ractor_t *r);
void rb_ractor_terminate_all(void);
bool rb_ractor_main_p_(void);
void rb_ractor_finish_marking(void);
+void rb_ractor_atfork(rb_vm_t *vm, rb_thread_t *th);
RUBY_SYMBOL_EXPORT_BEGIN
bool rb_ractor_shareable_p_continue(VALUE obj);