Skip to main content

yield_now

Function yield_now 

Source
pub fn yield_now()
Expand description

Give up the processor to another ready task, through the port’s nros_platform_yield_now. For a thread that must wait for another to finish a short critical step (phase-436’s wake fan-out waits out a backend callback this way) without spinning a single core it shares with that thread.