Project

General

Profile

« Previous | Next » 

Revision d2c30a3b

Added by Luke Gruber 2 days ago

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]