mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-12-01 16:57:08 +01:00
Use pthread_condattr_setclock() and sem_clockwait() when available, so that wait operations will be timed against the monotonic clock. This avoids potential hangs if the realtime clock experiences a discontinuity.