Returns the contention scope attribute of the thread.
#include <pthread.h>
int pthread_attr_getscope (
const pthread_attr_t *attr,
int *contentionscope);
(IN) Points to the attribute structure for the thread.
(OUT) Points to 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.