Function lrs::syscall::sched_setattr

Sets the scheduling policy of a thread.

Syntax

fn sched_setattr(pid: i32, attr: &mut sched_attr, flags: u32) -> i32

Arguments

NameDescription
pid

The thread to modify.

attr

The policy to set.

flags

Unused.

See also