mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
eac41469d7
Use monotonic time in condition variables. Configure condition variables to use monotonic time using pthread_condattr_setclock on systems where this is possible. This fixes the issue when thread waiting on condition variable is woken up too late when system time is moved backwards.