Home
last modified time | relevance | path

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

/bionic/benchmarks/
Dpthread_benchmark.cpp106 pthread_mutexattr_setprotocol(&attr, PTHREAD_PRIO_INHERIT); in PIMutex()
/bionic/tests/
Dpthread_test.cpp2007 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()
/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/tests/headers/posix/
Dpthread_h.c60 MACRO(PTHREAD_PRIO_INHERIT); in pthread_h()
/bionic/libc/include/
Dpthread.h87 #define PTHREAD_PRIO_INHERIT 1 macro