Function lrs::thread::scheduler

Get a thread's scheduler and its arguments.

Syntax

fn scheduler(thread: i32) -> Result<SchedAttr, Errno>

Arguments

NameDescription
thread

The thread whose scheduler to return, or 0 for this thread.

Remarks

Kernel version

The required kernel version is 3.14.

See also