pub struct Condvar {
pub inner: UPIntrFreeCell<CondvarInner>,
}
Fields
inner: UPIntrFreeCell<CondvarInner>
Implementations
sourceimpl Condvar
impl Condvar
pub fn new() -> Self
pub fn signal(&self)
pub fn wait_no_sched(&self) -> *mut TaskContext
pub fn wait_with_mutex(&self, mutex: Arc<dyn Mutex>)
Auto Trait Implementations
impl !RefUnwindSafe for Condvar
impl Send for Condvar
impl Sync for Condvar
impl Unpin for Condvar
impl !UnwindSafe for Condvar
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more