Sets the schedule policy attribute for the thread.
#include <pthread.h>
int pthread_attr_setschedpolicy (
pthread_attr_t *attr,
int policy);
(IN) Points to the attribute structure for the thread.
(OUT) Specifies the value for the schedule policy attribute (the attr_policy field). The only value supported on NetWare is SCHED_FIFO (first in, first out).
If successful, returns 0; otherwise, returns a nonzero error code: