Home
last modified time | relevance | path

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

/AliOS-Things-master/components/posix/src/
A Dpthread_attr.c23 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() argument
216 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() argument
228 ((contentionscope != PTHREAD_SCOPE_PROCESS) && (contentionscope != PTHREAD_SCOPE_SYSTEM))) { in pthread_attr_setscope()
232 attr->contentionscope = contentionscope; in pthread_attr_setscope()
/AliOS-Things-master/components/posix/include/
A Dpthread.h59 int contentionscope; /* the scope of contention, only PTHREAD_SCOPE_SYSTEM is supported */ member

Completed in 11 milliseconds