Returns the maximum priority value (rt_priority) that can be used by a given scheduling class.
Arguments
eax |
159 |
ebx |
Policy. Supported policies are:
SCHED_FIFO |
First In-First Out scheduling. |
SCHED_RR |
Round Robin scheduling. |
SCHED_NORMAL |
Default Linux time-sharing scheduling. |
SCHED_BATCH |
Scheduling batch processes. |
|
See sys_sched_setscheduler for a more detailed information about available policies. |
Return values
If the system call succeeds the return value is the maximum priority value for the named scheduling policy.
If the system call fails the return value is one of the following errno values:
-EINVAL |
The parameter ebx does not identify a defined scheduling policy. |
|
Remarks
n/a
Compatibility
n/a |