Searched refs:contentionscope (Results 1 - 3 of 3) sorted by relevance

/freebsd-10.0-release/lib/libkse/thread/
H A Dthr_attr_setscope.c44 _pthread_attr_setscope(pthread_attr_t *attr, int contentionscope) argument
51 } else if ((contentionscope != PTHREAD_SCOPE_PROCESS) &&
52 (contentionscope != PTHREAD_SCOPE_SYSTEM)) {
54 } else if (contentionscope == PTHREAD_SCOPE_SYSTEM) {
55 (*attr)->flags |= contentionscope;
H A Dthr_attr_getscope.c44 _pthread_attr_getscope(const pthread_attr_t *attr, int *contentionscope) argument
48 if ((attr == NULL) || (*attr == NULL) || (contentionscope == NULL))
53 *contentionscope = (*attr)->flags & PTHREAD_SCOPE_SYSTEM ?
/freebsd-10.0-release/lib/libthr/thread/
H A Dthr_attr.c262 _pthread_attr_getscope(const pthread_attr_t *attr, int *contentionscope) argument
266 if ((attr == NULL) || (*attr == NULL) || (contentionscope == NULL))
271 *contentionscope = (*attr)->flags & PTHREAD_SCOPE_SYSTEM ?
490 _pthread_attr_setscope(pthread_attr_t *attr, int contentionscope) argument
497 } else if ((contentionscope != PTHREAD_SCOPE_PROCESS) &&
498 (contentionscope != PTHREAD_SCOPE_SYSTEM)) {
500 } else if (contentionscope == PTHREAD_SCOPE_SYSTEM) {
501 (*attr)->flags |= contentionscope;

Completed in 106 milliseconds