summaryrefslogtreecommitdiff
path: root/include/ruby/thread_native.h
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-07-07 16:18:40 -0700
committerJohn Hawthorn <john@hawthorn.email>2025-07-09 10:38:04 -0700
commitcfc006d410014f03e59179994b4607c468c378c7 (patch)
treedee3630d57a15175ee140a986ae54eff33c2879a /include/ruby/thread_native.h
parent5dfd86cf3f35f59f551bf8636a503ae46a99e0d7 (diff)
Always use atomics to get the shape count
When sharing between threads we need both atomic reads and writes. We probably didn't need to use this in some cases (where we weren't running in multi-ractor mode) but I think it's best to be consistent.
Diffstat (limited to 'include/ruby/thread_native.h')
0 files changed, 0 insertions, 0 deletions