Function scheduler::set_self_priority [] [src]

pub fn set_self_priority(which: Which, priority: i32) -> Result<(), ()>

Set the scheduling priority for the Which of the calling process

Priorities are usually in the range of -20..19, dependent on your system.