summaryrefslogtreecommitdiff
path: root/ractor.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-10-21 22:56:35 +0900
committerKoichi Sasada <ko1@atdot.net>2020-10-21 23:52:11 +0900
commitaf2471365fedaf89759eb00f87164fbaa0afaa39 (patch)
tree23797a14f85de16bc35adae9361e741db4ffaf5f /ractor.c
parent631eaa85109e4d6fa31eaeed393858e1e63300a4 (diff)
refactoring rb_ractor_confirm_belonging()
rb_ractor_belonging() returns 0 only if it has sharable flag. rb_ractor_confirm_belonging() checks rb_ractor_shareable_p() if the belonging ractor id is different from current ractor id.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3682
Diffstat (limited to 'ractor.c')
0 files changed, 0 insertions, 0 deletions