Get priority limits (REALTIME).
The functions shall return the appropriate maximum.
2. Syntax
1 |
int sched_get_priority_max(int policy); |
3. Param
policy
The value of policy shall be one of the scheduling policy values defined in <sched.h>.
4. Return Value
Upon successful, return appropriate maximum value; otherwise, return -1, and set errno to indicate the error.
近期评论