Expand description
Context-switch plans, entry contracts and completion.
Structs§
- Context
Thread Binding - Immutable association between one runtime context and scheduler ownership.
- Current
Thread Owner Handle - Opaque pointer to the Arc-backed scheduler core of the current thread.
- Current
Thread Publication - Immutable scheduler publication owned by one runtime execution context.
- Runtime
Scheduler Frame Enter Result - Atomic runtime result of claiming one scheduler frame.
- Runtime
Switch Plan - Move-only runtime transaction for one committed scheduler switch.
- Sched
Switch Record - Allocation-free scheduler switch diagnostic record.
- Schedule
Decision - Result of one scheduler safe-point decision.
- Thread
Identity V1 - Versioned generation-bearing thread identity for runtime context binding.
Enums§
- Runtime
Schedule Origin - Scheduler entry whose context constraints the runtime must validate.
- Runtime
Scheduler Entry - Typed source of one scheduler-frame baton.
- Runtime
Scheduler Return - Raw IRQ state expected by the suspended scheduler continuation.
- Scheduler
Outcome - Result of one bounded scheduler safe point.
- Yield
Outcome - Result of an explicit scheduler yield.
Functions§
- finish_
initial_ ⚠context_ switch - Completes switch tail and consumes the inherited IRQ guard on first entry.
- schedule_
current_ cpu - Runs one scheduler decision at a task/IRQ-return safe point.
- schedule_
current_ ⚠cpu_ from_ irq_ guard_ exit - Services the final task-context IRQ publication guard exit without restoring IRQs before the scheduler owns its CPU-local baton.
- schedule_
current_ ⚠cpu_ from_ preempt_ exit - Services the final preemption-guard exit without exposing a preemptible window before the scheduler owns its CPU-local baton.