Home
last modified time | relevance | path

Searched refs:PIMutex (Results 1 – 2 of 2) sorted by relevance

/bionic/benchmarks/
Dpthread_benchmark.cpp99 struct PIMutex { struct
102 explicit PIMutex(int type) { in PIMutex() function
111 ~PIMutex() { in ~PIMutex() argument
118 PIMutex m(PTHREAD_MUTEX_NORMAL); in BM_pthread_mutex_lock_PI()
128 PIMutex m(PTHREAD_MUTEX_ERRORCHECK); in BM_pthread_mutex_lock_ERRORCHECK_PI()
138 PIMutex m(PTHREAD_MUTEX_RECURSIVE); in BM_pthread_mutex_lock_RECURSIVE_PI()
/bionic/libc/bionic/
Dpthread_mutex.cpp136 struct PIMutex { struct
148 static inline __always_inline int PIMutexTryLock(PIMutex& mutex) { in PIMutexTryLock() argument
177 static int __attribute__((noinline)) PIMutexTimedLock(PIMutex& mutex, in PIMutexTimedLock()
191 static int PIMutexUnlock(PIMutex& mutex) { in PIMutexUnlock()
228 static int PIMutexDestroy(PIMutex& mutex) { in PIMutexDestroy()
261 PIMutex mutex;
277 static inline __always_inline PIMutex& IdToPIMutex(int id) { in IdToPIMutex()
314 memset(&IdToPIMutex(result), 0, sizeof(PIMutex)); in AllocId()
459 PIMutex pi_mutex;
463 PIMutex& ToPIMutex() { in ToPIMutex()
[all …]