Skip to main content

Module thread

Module thread 

Source
Expand description

Implements threads.

Structs§

Thread
A thread.
ThreadId
A thread identifier.
ThreadManager
A set of threads.

Enums§

BlockReason
Keeps track of what the thread is blocked on.
SchedulingAction 🔒
ThreadJoinStatus 🔒
The join status of a thread.
ThreadLookupError
An error signaling that the requested thread doesn’t exist or has terminated.
ThreadState 🔒
The state of a thread.
TlsAllocAction
What to do with TLS allocations from terminated threads
UnblockKind
The argument type for the “unblock” callback, indicating why the thread got unblocked.

Traits§

EvalContextExt
EvalContextPrivExt 🔒

Type Aliases§

DynUnblockCallback
Type alias for unblock callbacks, i.e. machine callbacks invoked when a thread gets unblocked.
StackEmptyCallback