pub struct SDL_Condition { /* private fields */ }Expand description
A means to block multiple threads until a condition is satisfied.
Condition variables, paired with an SDL_Mutex, let an app halt multiple
threads until a condition has occurred, at which time the app can release
one or all waiting threads.
Wikipedia has a thorough explanation of the concept:
https://en.wikipedia.org/wiki/Condition_variable
§Availability
This struct is available since SDL 3.2.0.
Auto Trait Implementations§
impl Freeze for SDL_Condition
impl RefUnwindSafe for SDL_Condition
impl Send for SDL_Condition
impl Sync for SDL_Condition
impl Unpin for SDL_Condition
impl UnwindSafe for SDL_Condition
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