Function lrs::thread::user_niceness

Returns the niceness of a user.

Syntax

fn user_niceness(id: u32) -> Result<u8, Errno>

Arguments

NameDescription
id

The user to inspect, or 0 for the real user id of this thread.

Remarks

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

See also