Skip to content
  • Colin Walters's avatar
    Bug 18121 - Use a monotonic clock for pthread timeouts · 2e286c8a
    Colin Walters authored
    Patch based on one from Keith Mok <ek9852@gmail.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.
    (cherry picked from commit ae24bb35)
    2e286c8a