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