Files
rust/src/libstd/sys/unix
Alex Crichton 43b2c4781e std: Fix sub-second Condvar::wait_timeout_ms
The API we're calling requires us to pass an absolute point in time as an
argument (`pthread_cond_timedwait`) so we call `gettimeofday` ahead of time to
then add the specified duration to. Unfortuantely the current "add the duration"
logic forgot to take into account the current time's sub-second precision (e.g.
the `tv_usec` field was ignored), causing sub-second duration waits to return
spuriously.
2015-07-29 10:24:40 -07:00
..
2015-07-17 11:54:02 -04:00
2015-07-01 19:09:14 -07:00
2015-05-07 17:25:04 -07:00
2015-03-26 13:54:48 -07:00
2015-07-01 19:09:14 -07:00
2015-07-01 19:09:14 -07:00
2015-06-14 20:17:06 -07:00
2015-07-01 19:09:14 -07:00
2015-07-01 19:09:14 -07:00
2015-07-01 19:09:14 -07:00