Module thread_flags

Module thread_flags 

Available on crate feature threading only.
Expand description

Thread flags.

Enums§

WaitMode
Possible waiting modes for ThreadFlags.

Functions§

clear
Clears flags for the current thread.
get
Returns the flags set for the current thread.
set
Sets flags for a thread.
wait_all
Waits until all flags in mask are set for the current thread.
wait_any
Waits until any flag in mask is set for the current thread.
wait_one
Waits until any flag in mask is set for the current thread.

Type Aliases§

ThreadFlags
Bitmask that represent the flags that are set for a thread.