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. --- include/ruby/ractor.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/ruby/ractor.h') diff --git a/include/ruby/ractor.h b/include/ruby/ractor.h index 327d4f4126..239df9c04c 100644 --- a/include/ruby/ractor.h +++ b/include/ruby/ractor.h @@ -61,4 +61,7 @@ rb_ractor_shareable_p(VALUE obj) } } +VALUE rb_ractor_make_shareable(VALUE obj); +VALUE rb_ractor_make_shareable_copy(VALUE obj); + #endif /* RUBY_RACTOR_H */ -- cgit v1.2.3