Searched refs:contentionscope (Results 1 – 1 of 1) sorted by relevance
262 _pthread_attr_getscope(const pthread_attr_t *attr, int *contentionscope) in _pthread_attr_getscope() argument266 if ((attr == NULL) || (*attr == NULL) || (contentionscope == NULL)) in _pthread_attr_getscope()271 *contentionscope = (*attr)->flags & PTHREAD_SCOPE_SYSTEM ? in _pthread_attr_getscope()490 _pthread_attr_setscope(pthread_attr_t *attr, int contentionscope) in _pthread_attr_setscope() argument497 } else if ((contentionscope != PTHREAD_SCOPE_PROCESS) && in _pthread_attr_setscope()498 (contentionscope != PTHREAD_SCOPE_SYSTEM)) { in _pthread_attr_setscope()500 } else if (contentionscope == PTHREAD_SCOPE_SYSTEM) { in _pthread_attr_setscope()501 (*attr)->flags |= contentionscope; in _pthread_attr_setscope()