Function arceos_api::task::ax_yield_now
source · pub fn ax_yield_now()
Expand description
Current task gives up the CPU time voluntarily, and switches to another ready task.
If the feature multitask
is not enabled, it does nothing.