Searched refs:contentionscope (Results 1 – 2 of 2) sorted by relevance
41 pthread_attr_setscope(pthread_attr_t *attr, int contentionscope) in pthread_attr_setscope() argument48 } else if ((contentionscope != PTHREAD_SCOPE_PROCESS) || in pthread_attr_setscope()49 (contentionscope == PTHREAD_SCOPE_SYSTEM)) { in pthread_attr_setscope()53 (*attr)->flags |= contentionscope; in pthread_attr_setscope()
41 pthread_attr_getscope(const pthread_attr_t *attr, int *contentionscope) in pthread_attr_getscope() argument45 if ((attr == NULL) || (*attr == NULL) || (contentionscope == NULL)) in pthread_attr_getscope()50 *contentionscope = (*attr)->flags & PTHREAD_SCOPE_SYSTEM ? in pthread_attr_getscope()