rust/src/libstd/sync
Steven Fackler 08f6380a9f Rewrite Condvar::wait_timeout and make it public
**The implementation is a direct adaptation of libcxx's
condition_variable implementation.**

pthread_cond_timedwait uses the non-monotonic system clock. It's
possible to change the clock to a monotonic via pthread_cond_attr, but
this is incompatible with static initialization. To deal with this, we
calculate the timeout using the system clock, and maintain a separate
record of the start and end times with a monotonic clock to be used for
calculation of the return value.
2015-01-16 09:17:37 -08:00
..
mpsc Rename AtomicInt and AtomicUint 2015-01-11 11:47:44 -08:00
barrier.rs Fallout from stabilization 2015-01-06 14:57:52 -08:00
condvar.rs Rewrite Condvar::wait_timeout and make it public 2015-01-16 09:17:37 -08:00
future.rs Fallout from stabilization 2015-01-06 14:57:52 -08:00
mod.rs rollup merge of #20565: alexcrichton/missing-stability 2015-01-05 18:41:55 -08:00
mutex.rs rollup merge of #20615: aturon/stab-2-thread 2015-01-06 15:38:38 -08:00
once.rs Rename AtomicInt and AtomicUint 2015-01-11 11:47:44 -08:00
poison.rs Rewrite Condvar::wait_timeout and make it public 2015-01-16 09:17:37 -08:00
rwlock.rs rollup merge of #20615: aturon/stab-2-thread 2015-01-06 15:38:38 -08:00
semaphore.rs Fallout from stabilization 2015-01-06 14:57:52 -08:00
task_pool.rs Fallout from stabilization 2015-01-06 14:57:52 -08:00