summaryrefslogtreecommitdiff
path: root/include/ruby/random.h
diff options
context:
space:
mode:
authorLuke Gruber <luke.gruber@shopify.com>2025-11-10 20:32:30 -0500
committerGitHub <noreply@github.com>2025-11-10 20:32:30 -0500
commitd2c30a3bae908772c1de453aad8686000f6a5096 (patch)
tree6fcaa68d47b5a9754724949f8cbf6ab714ab0f10 /include/ruby/random.h
parent222d8990d4b0acfd17db9bf9063af1ccf0fe036a (diff)
Fix `thread_sched_wait_events` race (#15067)
This race condition was found when calling `Thread#join` with a timeout inside a ractor. The race is between the polling thread waking up the thread and the `ubf` getting called (`ubf_event_waiting`). The error was that the ubf or polling thread would set the thread as ready, but then the other function would do the same. Fixes [Bug #21614]
Diffstat (limited to 'include/ruby/random.h')
0 files changed, 0 insertions, 0 deletions