pub unsafe fn switch_context(__arg0: RuntimeSwitchPlan)Expand description
Consumes one committed scheduler-switch transaction with local interrupts disabled.
ยงSafety
Both execution-context handles and every non-empty address-space handle
in plan must identify live runtime objects. The caller must have
committed scheduler state and released runqueue locks. The provider
must validate and prepare both transitions before committing either one,
then consume the plan exactly once.