Function task::scheduler::set_priority

source ·
pub fn set_priority(task: &TaskRef, priority: u8) -> bool
Expand description

Sets the priority of the given task.

Returns None if the task is not on a priority run queue.