Struct antidote::Condvar
[−]
[src]
pub struct Condvar(_);
Like std::sync::Condvar
.
Methods
impl Condvar
[src]
fn new() -> Condvar
[src]
Like std::sync::Condvar::new
.
fn wait<'a, T>(&self, guard: MutexGuard<'a, T>) -> MutexGuard<'a, T>
[src]
Like std::sync::Condvar::wait
.
fn wait_timeout<'a, T>(
&self,
guard: MutexGuard<'a, T>,
dur: Duration
) -> (MutexGuard<'a, T>, WaitTimeoutResult)
[src]
&self,
guard: MutexGuard<'a, T>,
dur: Duration
) -> (MutexGuard<'a, T>, WaitTimeoutResult)
Like std::sync::Condvar::wait_timeout
.
fn notify_one(&self)
[src]
Like std::sync::Condvar::notify_one
.
fn notify_all(&self)
[src]
Like std::sync::Condvar::notify_all
.