aboutsummaryrefslogtreecommitdiffstats
path: root/ractor_core.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-12-24 10:59:27 +0900
committerKoichi Sasada <ko1@atdot.net>2020-12-24 14:28:47 +0900
commit6f29716f9ffb710af7f344839ec67ef2b8a48ab2 (patch)
tree296e34994f4670acfe02bca27e5a4864629a5248 /ractor_core.h
parent1e215a66d26d56befab4fbb72e1d953879411955 (diff)
downloadruby-6f29716f9ffb710af7f344839ec67ef2b8a48ab2.tar.gz
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.
Diffstat (limited to 'ractor_core.h')
-rw-r--r--ractor_core.h2
1 files changed, 2 insertions, 0 deletions
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);