Module style::thread_state
source · Expand description
Supports dynamic assertions in about what sort of thread is running and what state it’s in.
Macros§
Structs§
- A thread state flag, used for multiple assertions.
Constants§
- STATE 🔒
Functions§
- Enters into a given temporary state. Panics if re-entring.
- Exits a given temporary state.
- Gets the current thread state.
- Initializes the current thread state.
- Initializes the current thread as a layout worker thread.