Expand description
Thread identity, lifecycle and generation-valid management handles.
Modules§
- current
- Operations bound to the calling scheduler thread.
Structs§
- Current
Thread Token - Move-only proof of the scheduler thread executing this task context.
- Kernel
Thread Handle - Join capability for one runtime-backed kernel thread.
- Park
Ticket - Move-only ownership of one park attempt and its optional timeout deadline.
- Thread
Builder - Resource and diagnostic configuration for one kernel thread.
- Thread
Extension - Opaque OS-specific data attached to a thread.
- Thread
Extension Borrow - Extension identity borrowed for exactly as long as a strong thread handle.
- Thread
Extension Lease - Owned extension lease used when the caller has no pre-existing handle.
- Thread
Extension Ops - OS-owned callbacks attached to a thread without exposing OS types.
- Thread
Extension View - Copy-only borrowed identity for an installed OS extension.
- Thread
Handle - A strong reference used to inspect and control a live thread.
- Thread
Id - A thread registry identity containing a slot and reuse generation.
- Thread
Runtime Snapshot - Runqueue-coherent snapshot of one thread’s charged CPU runtime.
- Thread
Spec - Validated inputs used to create a scheduler thread record.
- Thread
Wake Batch - A task-context wake list backed by nodes embedded in each thread core.
- Thread
Wake Handle - A stable direct wake header reference.
- Weak
Thread Handle - A non-owning thread observer for ordinary task context.
Enums§
- Park
Commit - Result of rechecking a prepared park at the scheduler safe point.
- Park
Prepare - Result of publishing the
PARKINGphase. - Switch
Reason - Why a running thread relinquished its execution context.
- Task
Error - Errors produced by task-system operations.
- Thread
State - Observable lifecycle state of a thread.
- Wake
Result - Result of an IRQ-safe wake publication.
Constants§
- DEFAULT_
KERNEL_ THREAD_ STACK_ SIZE - Default stack size used by portable kernel service threads.
Type Aliases§
- Running
Policy Applied Hook - Bounded OS hook invoked when the owner changes a running thread’s base policy.