Home
last modified time | relevance | path

Searched refs:PTHREAD_PRIO_INHERIT (Results 1 – 5 of 5) sorted by relevance

/bionic/benchmarks/
Dpthread_benchmark.cpp110 pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT); in PIMutex()
/bionic/tests/
Dpthread_test.cpp2046 for (int set_protocol : {PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT}) { in TEST()
2098 if (protocol == PTHREAD_PRIO_INHERIT) { in TestPthreadMutexLockNormal()
2153 TestPthreadMutexLockNormal(PTHREAD_PRIO_INHERIT); in TEST()
2154 TestPthreadMutexLockErrorCheck(PTHREAD_PRIO_INHERIT); in TEST()
2155 TestPthreadMutexLockRecursive(PTHREAD_PRIO_INHERIT); in TEST()
2163 ASSERT_EQ(0, pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT)); in TEST()
2320 if (helper->protocol == PTHREAD_PRIO_INHERIT) { in thread_fn()
2359 for (int protocol : {PTHREAD_PRIO_INHERIT}) { in TEST()
2441 PthreadMutex m(PTHREAD_MUTEX_NORMAL, PTHREAD_PRIO_INHERIT); in pthread_mutex_timedlock_pi_helper()
/bionic/tests/headers/posix/
Dpthread_h.c60 MACRO(PTHREAD_PRIO_INHERIT); in pthread_h()
/bionic/libc/bionic/
Dpthread_mutex.cpp123 if (protocol != PTHREAD_PRIO_NONE && protocol != PTHREAD_PRIO_INHERIT) { in pthread_mutexattr_setprotocol()
530 if (((*attr & MUTEXATTR_PROTOCOL_MASK) >> MUTEXATTR_PROTOCOL_SHIFT) == PTHREAD_PRIO_INHERIT) { in pthread_mutex_init()
/bionic/libc/include/
Dpthread.h89 #define PTHREAD_PRIO_INHERIT 1 macro