Lines Matching refs:scope
49 attr->scope = PTHREAD_SCOPE_SYSTEM;
90 int pthread_attr_setscope(pthread_attr_t *attr, int scope)
96 if (scope == PTHREAD_SCOPE_SYSTEM) {
97 attr->scope = (unsigned int)scope;
101 if (scope == PTHREAD_SCOPE_PROCESS) {
108 int pthread_attr_getscope(const pthread_attr_t *attr, int *scope)
110 if ((attr == NULL) || (scope == NULL)) {
114 *scope = (int)attr->scope;