Function lrs::thread::process_niceness

Returns the niceness of a process.

Syntax

fn process_niceness(id: i32) -> Result<u8, Errno>

Arguments

NameDescription
id

The process to inspect, or 0 for this process.

Remarks

The niceness is a value between 1 and 40, with higher values meaning more favorable scheduling.

See also