#include <pthread.h> int pthread_attr_setscope( pthread_attr_t *attr, int contentionscope );
The pthread_attr_setscope routine is used to set the contention
scope field in the thread attribute object attr to the value
specified by contentionscope.
The contentionscope must be either PTHREAD_SCOPE_SYSTEM
to indicate that the thread is to be within system scheduling contention
or PTHREAD_SCOPE_PROCESS indicating that the thread is to be
within the process scheduling contention scope.
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