Function scheduler::set_priority

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

Re-exports for convenience and legacy compatibility. Sets the priority of the given task.

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