This section alphabetically lists the flags and constants used the pthread functions.
The pthread_getschedparam and pthread_setschedparam functions use the following constants defined in the sched.h file for the policy parameter.
Constant
Value
Description
SCHED_UNKNOWN
0
Unsupported.
SCHED_FIFO
1
Indicates that the policy is first in, first out.
SCHED_RR
2
SCHED_SPORADIC
3
SCHED_OTHER
4