Module thread_flags
Available on crate feature
threading only.Expand description
Thread flags.
Enums§
- Wait
Mode - 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
maskare set for the current thread. - wait_
any - Waits until any flag in
maskis set for the current thread. - wait_
one - Waits until any flag in
maskis set for the current thread.
Type Aliases§
- Thread
Flags - Bitmask that represent the flags that are set for a thread.