arceos_api::task

Function ax_set_current_priority

Source
pub fn ax_set_current_priority(prio: isize) -> AxResult
Available on crate feature multitask only.
Expand description

Sets the priority of the current task.