set_self_priority

Function set_self_priority 

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

Set the scheduling priority for the Which of the calling process

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