mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-07 01:27:05 +00:00
This replaces the internal mutex with a semaphore, so we're only using a single synchronization primitive to implement this, and cleans up some logic around wait timeouts. This now matches the logic of the originally cited work, from BeOS. Fixes #3639. (I think.)