Searched refs:PTHREAD_PRIO_INHERIT (Results 1 – 5 of 5) sorted by relevance
106 pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT); in PIMutex()
2007 for (int set_protocol : {PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT}) { in TEST()2059 if (protocol == PTHREAD_PRIO_INHERIT) { in TestPthreadMutexLockNormal()2114 TestPthreadMutexLockNormal(PTHREAD_PRIO_INHERIT); in TEST()2115 TestPthreadMutexLockErrorCheck(PTHREAD_PRIO_INHERIT); in TEST()2116 TestPthreadMutexLockRecursive(PTHREAD_PRIO_INHERIT); in TEST()2124 ASSERT_EQ(0, pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT)); in TEST()2277 if (helper->protocol == PTHREAD_PRIO_INHERIT) { in thread_fn()2316 for (int protocol : {PTHREAD_PRIO_INHERIT}) { in TEST()2398 PthreadMutex m(PTHREAD_MUTEX_NORMAL, PTHREAD_PRIO_INHERIT); in pthread_mutex_timedlock_pi_helper()
123 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()
60 MACRO(PTHREAD_PRIO_INHERIT); in pthread_h()
87 #define PTHREAD_PRIO_INHERIT 1 macro