Expand description
Supports dynamic assertions about what sort of thread is running and what state it’s in.
Structs§
- Thread
State - A thread state flag, used for multiple assertions.
Constants§
- STATE 🔒
Functions§
- enter
- Enters into a given temporary state. Panics if re-entering.
- exit
- Exits a given temporary state.
- get
- Gets the current thread state.
- initialize
- Initializes the current thread state.
- initialize_
layout_ worker_ thread - Initializes the current thread as a layout worker thread.