Home
last modified time | relevance | path

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

/bionic/libc/include/
Dpthread.h44 PTHREAD_MUTEX_ERRORCHECK = 2, enumerator
46 PTHREAD_MUTEX_ERRORCHECK_NP = PTHREAD_MUTEX_ERRORCHECK,
54 #define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP { { ((PTHREAD_MUTEX_ERRORCHECK & 3) << 14) } }
/bionic/libc/bionic/
Dpthread_mutex.cpp78 if (type < PTHREAD_MUTEX_NORMAL || type > PTHREAD_MUTEX_ERRORCHECK) { in pthread_mutexattr_gettype()
88 if (type < PTHREAD_MUTEX_NORMAL || type > PTHREAD_MUTEX_ERRORCHECK ) { in pthread_mutexattr_settype()
163 if (mutex.type == PTHREAD_MUTEX_ERRORCHECK) { in PIMutexTryLock()
418 #define MUTEX_TYPE_BITS_ERRORCHECK MUTEX_TYPE_TO_BITS(PTHREAD_MUTEX_ERRORCHECK)
523 case PTHREAD_MUTEX_ERRORCHECK: in pthread_mutex_init()
/bionic/benchmarks/
Dpthread_benchmark.cpp129 PIMutex m(PTHREAD_MUTEX_ERRORCHECK); in BM_pthread_mutex_lock_ERRORCHECK_PI()
/bionic/tests/headers/posix/
Dpthread_h.c49 MACRO(PTHREAD_MUTEX_ERRORCHECK); in pthread_h()
/bionic/tests/
Dpthread_test.cpp1988 ASSERT_EQ(0, pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK)); in TEST()
1990 ASSERT_EQ(PTHREAD_MUTEX_ERRORCHECK, attr_type); in TEST()
2069 PthreadMutex m(PTHREAD_MUTEX_ERRORCHECK, protocol); in TestPthreadMutexLockErrorCheck()
2157 PthreadMutex m2(PTHREAD_MUTEX_ERRORCHECK); in TEST()
2221 MutexWakeupHelper helper(PTHREAD_MUTEX_ERRORCHECK); in TEST()
2315 for (int type : {PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_RECURSIVE, PTHREAD_MUTEX_ERRORCHECK}) { in TEST()