From 6f29716f9ffb710af7f344839ec67ef2b8a48ab2 Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Thu, 24 Dec 2020 10:59:27 +0900 Subject: shareable_constant_value: experimental_copy "experimental_everything" makes the assigned value, it means the assignment change the state of assigned value. "experimental_copy" tries to make a deep copy and make copyied object sharable. --- ractor_core.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ractor_core.h') diff --git a/ractor_core.h b/ractor_core.h index 0aa66f65d0..2516277f4f 100644 --- a/ractor_core.h +++ b/ractor_core.h @@ -184,6 +184,8 @@ bool rb_ractor_main_p_(void); void rb_ractor_finish_marking(void); void rb_ractor_atfork(rb_vm_t *vm, rb_thread_t *th); +VALUE rb_ractor_ensure_shareable(VALUE obj, VALUE name); + RUBY_SYMBOL_EXPORT_BEGIN bool rb_ractor_shareable_p_continue(VALUE obj); -- cgit v1.2.1