Struct antidote::Condvar [] [src]

pub struct Condvar(_);

Like std::sync::Condvar.

Methods

impl Condvar

fn new() -> Condvar

Like std::sync::Condvar::new.

fn wait<'a, T>(&self, guard: MutexGuard<'a, T>) -> MutexGuard<'a, T>

Like std::sync::Condvar::wait.

fn wait_timeout<'a, T>(&self, guard: MutexGuard<'a, T>, dur: Duration) -> (MutexGuard<'a, T>, WaitTimeoutResult)

Like std::sync::Condvar::wait_timeout.

fn notify_one(&self)

Like std::sync::Condvar::notify_one.

fn notify_all(&self)

Like std::sync::Condvar::notify_all.