Function lrs::thread::set_group_niceness

Sets the niceness of a process group.

Syntax

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

Arguments

NameDescription
id

The process group to modify, or 0 for this process group.

niceness

The new niceness.

Remarks

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

See also