Expand description
Implements threads.
Structs§
- Thread
- A thread.
- Thread
Id - A thread identifier.
- Thread
Manager - A set of threads.
- Thread
NotFound - An error signaling that the requested thread doesn’t exist.
Enums§
- Block
Reason - Keeps track of what the thread is blocked on.
- Scheduling
Action 🔒 - Thread
Join 🔒Status - The join status of a thread.
- Thread
State 🔒 - The state of a thread.
- Timeout 🔒
- The moment in time when a blocked thread should be woken up.
- Timeout
Anchor - Whether the timeout is relative or absolute.
- Timeout
Clock - The clock to use for the timeout you are asking for.
- TlsAlloc
Action - What to do with TLS allocations from terminated threads
- Unblock
Kind - The argument type for the “unblock” callback, indicating why the thread got unblocked.
Traits§
Type Aliases§
- DynUnblock
Callback - Type alias for unblock callbacks, i.e. machine callbacks invoked when a thread gets unblocked.
- Stack
Empty Callback