summaryrefslogtreecommitdiff
path: root/test/fiber/scheduler.rb
diff options
context:
space:
mode:
authorSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-11-08 16:17:04 +1300
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2020-11-08 20:40:52 +1300
commitc39984ec5cc6dc94eb0c0e4169e7160f71e89240 (patch)
tree188b0990b63aaa9ed19442d0f6073a6f206bb899 /test/fiber/scheduler.rb
parentf73135233b1437eb2cc6a5c8c732adca1dbd41f2 (diff)
Tidy up book keeping for `thread->keeping_mutexes`.
When a scheduler is present, it's entirely possible for `th->keeping_mutexes` to be updated while enumerating the waitq. Therefore it must be fetched only during the removal operation.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3743
Diffstat (limited to 'test/fiber/scheduler.rb')
0 files changed, 0 insertions, 0 deletions