mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
introduce rb_ractor_atfork()
to reset main ractor at fork().
This commit is contained in:
parent
7fcb6b3dbe
commit
7340e7f827
3 changed files with 22 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue