Function scheduler::set_priority [] [src]

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

Set the scheduling priority for the selected identifier (pid, gid, or uid)

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