Skip to main content

start

Function start 

Source
pub fn start() -> !
Expand description

Start the preemptive scheduler. Never returns โ€” control transfers permanently to whichever task the scheduler selects first (and from there, forever between tasks via interrupt-driven context switches).

Call this from hart 0 only; secondary harts (plan.md Phase 19) use start_secondary_hart instead.

ยงPanics

Panics if no preemptive tasks have been spawned.