Sets the scheduling policy for the specified thread.
#include <pthread.h>
int pthread_setschedparam (
pthread_t thread,
int policy,
const struct sched_param *param);
(IN) Specifies the thread.
(IN) Specifies the policy for the thread. For a list of possible values, see Section 55.1.1, Schedule Policies.
(IN) Points the structure containing the scheduling parameters for the specified policy.
If successful, returns 0; otherwise, returns a nonzero error code:
NetWare does not currently support multiple scheduling policies. It uses a default policy of FIFO.