Skip to main content

lower_process_priority

Function lower_process_priority 

Source
pub fn lower_process_priority(pid: u32, nice: i32) -> Result<()>
Expand description

Best-effort Unix process-priority reduction for background discovery work. A larger nice value gives interactive work precedence. Callers choose whether inability to lower priority should fail the operation.