Function lrs::syscall::sched_getattr

Gets the scheduling policy of a thread.

Syntax

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

Arguments

NameDescription
pid

The thread whose policy to get.

attr

A place where the policy will be stored.

flags

Unused.

See also