Home
last modified time | relevance | path

Searched refs:contentionscope (Results 1 – 2 of 2) sorted by relevance

/mirbsd/src/lib/libpthread/uthread/
Duthread_attr_setscope.c41 pthread_attr_setscope(pthread_attr_t *attr, int contentionscope) in pthread_attr_setscope() argument
48 } 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()
Duthread_attr_getscope.c41 pthread_attr_getscope(const pthread_attr_t *attr, int *contentionscope) in pthread_attr_getscope() argument
45 if ((attr == NULL) || (*attr == NULL) || (contentionscope == NULL)) in pthread_attr_getscope()
50 *contentionscope = (*attr)->flags & PTHREAD_SCOPE_SYSTEM ? in pthread_attr_getscope()