Home
last modified time | relevance | path

Searched refs:PTHREAD_MUTEX_NORMAL (Results 1 – 6 of 6) sorted by relevance

/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()
160 if (mutex.type == PTHREAD_MUTEX_NORMAL) { in PIMutexTryLock()
195 if (__predict_true(mutex.type == PTHREAD_MUTEX_NORMAL)) { in PIMutexUnlock()
416 #define MUTEX_TYPE_BITS_NORMAL MUTEX_TYPE_TO_BITS(PTHREAD_MUTEX_NORMAL)
517 case PTHREAD_MUTEX_NORMAL: in pthread_mutex_init()
/bionic/libc/include/
Dpthread.h42 PTHREAD_MUTEX_NORMAL = 0, enumerator
49 PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
52 #define PTHREAD_MUTEX_INITIALIZER { { ((PTHREAD_MUTEX_NORMAL & 3) << 14) } }
/bionic/libc/include/bits/
Dthreads_inlines.h92 : PTHREAD_MUTEX_NORMAL; in mtx_init()
/bionic/benchmarks/
Dpthread_benchmark.cpp119 PIMutex m(PTHREAD_MUTEX_NORMAL); in BM_pthread_mutex_lock_PI()
/bionic/tests/
Dpthread_test.cpp1975 ASSERT_EQ(PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_DEFAULT); in TEST()
1984 ASSERT_EQ(0, pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL)); in TEST()
1986 ASSERT_EQ(PTHREAD_MUTEX_NORMAL, attr_type); in TEST()
2056 PthreadMutex m(PTHREAD_MUTEX_NORMAL, protocol); in TestPthreadMutexLockNormal()
2152 PthreadMutex m1(PTHREAD_MUTEX_NORMAL); in TEST()
2216 MutexWakeupHelper helper(PTHREAD_MUTEX_NORMAL); in TEST()
2288 : m(mutex_type, protocol), protocol(protocol), start_thread_m(PTHREAD_MUTEX_NORMAL) { in PIMutexWakeupHelper()
2315 for (int type : {PTHREAD_MUTEX_NORMAL, PTHREAD_MUTEX_RECURSIVE, PTHREAD_MUTEX_ERRORCHECK}) { in TEST()
2398 PthreadMutex m(PTHREAD_MUTEX_NORMAL, PTHREAD_PRIO_INHERIT); in pthread_mutex_timedlock_pi_helper()
/bionic/tests/headers/posix/
Dpthread_h.c50 MACRO(PTHREAD_MUTEX_NORMAL); in pthread_h()