Function lrs::thread::set_user_niceness

Sets the niceness of a user.

Syntax

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

Arguments

NameDescription
id

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

niceness

The new niceness.

Remarks

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

See also