summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
authorKoichi Sasada <[email protected]>2020-12-19 05:52:18 +0900
committerKoichi Sasada <[email protected]>2020-12-19 05:52:18 +0900
commit80cb9165fa34185b601970da407a295a78ec9eff (patch)
treef19d3490ffb3fb4f5e68d02c0f551cf9d8fcbcc4 /object.c
parentcee02d754d76563635c1db90d2ab6c01f8492470 (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