ariel_os::thread::thread_flags

Function wait_all

pub fn wait_all(mask: u16) -> u16
Available on crate feature threading only.
Expand description

Waits until all flags in mask are set for the current thread.

Returns the set flags for this mask and clears them for the thread.

ยงPanics

Panics if this is called outside of a thread context.