diff options
author | Koichi Sasada <[email protected]> | 2020-12-24 10:59:27 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2020-12-24 14:28:47 +0900 |
commit | 6f29716f9ffb710af7f344839ec67ef2b8a48ab2 () | |
tree | 296e34994f4670acfe02bca27e5a4864629a5248 /include/ruby/ractor.h | |
parent | 1e215a66d26d56befab4fbb72e1d953879411955 (diff) |
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.
Notes: Merged: https://.com/ruby/ruby/pull/3989
-rw-r--r-- | include/ruby/ractor.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -61,4 +61,7 @@ rb_ractor_shareable_p(VALUE obj) } } #endif /* RUBY_RACTOR_H */ |