pub unsafe trait RawCondvar {
type RawMutex: RawMutex;
const INIT: Self;
// Required methods
unsafe fn wait(&self, mutex: &Self::RawMutex);
fn notify_one(&self) -> bool;
fn notify_all(&self) -> usize;
}Expand description
Required Associated Constants§
Required Associated Types§
Required Methods§
Sourcefn notify_one(&self) -> bool
fn notify_one(&self) -> bool
Notify a single waiting thread.
Sourcefn notify_all(&self) -> usize
fn notify_all(&self) -> usize
Notify all waiting threads.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".