Function os::task::block_current_and_run_next
source · pub fn block_current_and_run_next()Expand description
Make current task blocked and switch to the next task.
pub fn block_current_and_run_next()Make current task blocked and switch to the next task.