Get a thread's scheduler and its arguments.
fn scheduler(thread: i32) -> Result<SchedAttr, Errno>
The thread whose scheduler to return, or 0 for this thread.
0
The required kernel version is 3.14.
man;sched_getattr(2)