Name
pthread_attr_setschedpolicy --
Description
The pthread_attr_setschedpolicy
function sets the scheduling policy.
Returns
The pthread_attr_setschedpolicy
function returns zero if the call is successful,
otherwise it sets errno to EINVAL and returns -1.
Implementation Notes
The value for policy must be
SCHED_FIFO.
|