Sets the contention scope attribute for the thread.
#include <pthread.h>
int pthread_attr_setscope (
pthread_attr_t *attr,
int contentionscope);
(IN) Points to the attribute structure for the thread.
(IN) Specifies the value for the contention scope attribute (the attr_scope field). The only value supported is PTHREAD_SCOPE_PROCESS.
If successful, returns 0; otherwise, returns a nonzero error code: