diff options
author | Koichi Sasada <[email protected]> | 2020-12-24 04:29:59 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2020-12-24 04:30:50 +0900 |
commit | 7340e7f82780f529d80490045f5ea3e2559d563c (patch) | |
tree | 5d0784a0de345d637e1c211c6558f53b81a3308a /ractor_core.h | |
parent | 7fcb6b3dbe7517fe5426fdb6871cd4940a71b7e8 (diff) |
introduce rb_ractor_atfork()
to reset main ractor at fork().
Diffstat (limited to 'ractor_core.h')
-rw-r--r-- | ractor_core.h | 1 |
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); |