]> git.lizzy.rs Git - rust.git/commit
Auto merge of #35048 - tmiasko:monotonic-wait-timeout, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 30 Aug 2016 23:28:32 +0000 (16:28 -0700)
committerGitHub <noreply@github.com>
Tue, 30 Aug 2016 23:28:32 +0000 (16:28 -0700)
commiteac41469d778d18ae7bf38fa917ed0fe122f944b
tree566d38ce5971d64222c2d3cd00499e2d666e66a8
parent4473130f4e0a20278225251ea6a0400258b03180
parent59e5e0b2db2ab66f138044bde80c44c7f9391a00
Auto merge of #35048 - tmiasko:monotonic-wait-timeout, r=alexcrichton

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.
src/libstd/sync/condvar.rs