pub struct Cond { /* private fields */ }Implementations§
Source§impl Cond
impl Cond
pub fn new() -> Self
pub fn broadcast(&self) -> Result<(), Errno>
pub fn signal(&self) -> Result<(), Errno>
pub fn clockwait( &self, mutex: &RlctMutex, timeout: ×pec, clock_id: clockid_t, ) -> Result<(), Errno>
pub fn timedwait( &self, mutex: &RlctMutex, timeout: ×pec, ) -> Result<(), Errno>
pub fn wait_inner_typedmutex<'lock, T>( &self, guard: MutexGuard<'lock, T>, ) -> MutexGuard<'lock, T>
pub fn wait(&self, mutex: &RlctMutex) -> Result<(), Errno>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Cond
impl RefUnwindSafe for Cond
impl Send for Cond
impl Sync for Cond
impl Unpin for Cond
impl UnsafeUnpin for Cond
impl UnwindSafe for Cond
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more