Searched refs:contentionscope (Results 1 – 2 of 2) sorted by relevance
23 attr->contentionscope = PTHREAD_SCOPE_SYSTEM; in pthread_attr_init()214 int pthread_attr_getscope(const pthread_attr_t *restrict attr, int *restrict contentionscope) in pthread_attr_getscope() argument216 if ((attr == NULL) || (contentionscope == NULL)) { in pthread_attr_getscope()220 *contentionscope = attr->contentionscope; in pthread_attr_getscope()225 int pthread_attr_setscope(pthread_attr_t *attr, int contentionscope) in pthread_attr_setscope() argument228 ((contentionscope != PTHREAD_SCOPE_PROCESS) && (contentionscope != PTHREAD_SCOPE_SYSTEM))) { in pthread_attr_setscope()232 attr->contentionscope = contentionscope; in pthread_attr_setscope()
59 int contentionscope; /* the scope of contention, only PTHREAD_SCOPE_SYSTEM is supported */ member
Completed in 11 milliseconds