#include <pthread.h> int pthread_attr_getschedpolicy( const pthread_attr_t *attr, int *policy );
The pthread_attr_getschedpolicy routine is used to obtain the
scheduler policy field from the thread attribute object attr.
The value of this field is returned in policy.
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-2004 OAR Corporation