#include <pthread.h> int pthread_getschedparam( pthread_t thread, int *policy, struct sched_param *param );
The pthread_getschedparam
routine is used to obtain the
scheduler policy and parameters associated with thread
.
The current policy and associated parameters values returned in
policy
and param
, respectively.
As required by POSIX, RTEMS defines the feature symbol
_POSIX_THREAD_PRIORITY_SCHEDULING
to indicate that the
family of routines to which this routine belongs is supported.
Copyright © 1988-2000 OAR Corporation