RTEMS 4.0.0 On-Line Library
pthread_setschedparam
RTEMS POSIX API User's Guide
1.4.24: pthread_setschedparam
CALLING SEQUENCE:
-
#include <pthread.h>
int pthread_setschedparam(
pthread_t thread,
int policy,
struct sched_param *param
);
STATUS CODES:
- EINVAL
-
The scheduling parameters indicated by the parameter param is invalid.
- EINVAL
-
The value specified by policy is invalid.
- EINVAL
-
The scheduling policy was SCHED_SPORADIC and the specified replenishment
period is less than the initial budget.
- EINVAL
-
The scheduling policy was SCHED_SPORADIC and the specified low priority
is invalid.
- ESRCH
-
The thread indicated was invalid.
DESCRIPTION:
NOTES:
RTEMS POSIX API User's Guide
Copyright © 1988-1998 OAR Corporation