Bug 18121 - Use a monotonic clock for pthread timeouts
Patch based on one from Keith Mok <email@example.com>, some followup work from Janne Karhunen <Janne.Karhunen@gmail.com>. We don't want condition variable timeouts to be affected by the system clock. Use the POSIX CLOCK_MONOTONIC if available.
Showing with 65 additions and 3 deletions