pub fn schedule_current_cpu() -> Result<SchedulerOutcome, TaskError>Expand description
Runs one scheduler decision at a task/IRQ-return safe point.
The typed outcome distinguishes a completed decision, an in-flight park
handshake, and bounded owner-work backpressure. It never clears
need_resched before entering the scheduler.
ยงErrors
Returns TaskError::UnsafeContext in hard IRQ context and object-handle
errors when runtime initialization is incomplete or inconsistent.