diff options
author | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-11-08 16:17:04 +1300 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2020-11-08 20:40:52 +1300 |
commit | c39984ec5cc6dc94eb0c0e4169e7160f71e89240 (patch) | |
tree | 188b0990b63aaa9ed19442d0f6073a6f206bb899 /test/fiber/scheduler.rb | |
parent | f73135233b1437eb2cc6a5c8c732adca1dbd41f2 (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