diff options
author | Koichi Sasada <[email protected]> | 2020-12-19 05:52:18 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2020-12-19 05:52:18 +0900 |
commit | 80cb9165fa34185b601970da407a295a78ec9eff (patch) | |
tree | f19d3490ffb3fb4f5e68d02c0f551cf9d8fcbcc4 /object.c | |
parent | cee02d754d76563635c1db90d2ab6c01f8492470 (diff) |
add "copy: true" option for Ractor.make_shareable
Ractor.make_shareable(obj) tries to make obj a shareable object
by changing the attribute of obj and traversable objects from obj
(mainly freeze them).
"copy: true" option is more conservative approach by make deep
copied object and make it sharable. It doesn't affect any existing
objects.
Diffstat (limited to 'object.c')
0 files changed, 0 insertions, 0 deletions