Searched defs:mutex (Results 1 – 7 of 7) sorted by relevance
/bionic/libc/bionic/ |
D | pthread_mutex.cpp | 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; member 502 pthread_mutex_internal_t* mutex = __get_internal_mutex(mutex_interface); in pthread_mutex_init() local 555 static inline __always_inline int NormalMutexTryLock(pthread_mutex_internal_t* mutex, in NormalMutexTryLock() 580 static inline __always_inline int NormalMutexLock(pthread_mutex_internal_t* mutex, in NormalMutexLock() 619 static inline __always_inline void NormalMutexUnlock(pthread_mutex_internal_t* mutex, in NormalMutexUnlock() 668 static inline __always_inline int RecursiveIncrement(pthread_mutex_internal_t* mutex, in RecursiveIncrement() [all …]
|
D | pthread_cond.cpp | 184 static int __pthread_cond_timedwait(pthread_cond_internal_t* cond, pthread_mutex_t* mutex, in __pthread_cond_timedwait() 221 int pthread_cond_wait(pthread_cond_t* cond_interface, pthread_mutex_t* mutex) { in pthread_cond_wait() 226 int pthread_cond_timedwait(pthread_cond_t *cond_interface, pthread_mutex_t * mutex, in pthread_cond_timedwait() 234 pthread_mutex_t* mutex, in pthread_cond_timedwait_monotonic_np() 239 int pthread_cond_clockwait(pthread_cond_t* cond_interface, pthread_mutex_t* mutex, clockid_t clock, in pthread_cond_clockwait() 254 pthread_mutex_t* mutex, in pthread_cond_timedwait_monotonic() 262 pthread_mutex_t* mutex, in pthread_cond_timedwait_relative_np() 274 pthread_mutex_t* mutex, unsigned ms) { in pthread_cond_timeout_np()
|
/bionic/benchmarks/ |
D | pthread_benchmark.cpp | 69 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; in BM_pthread_mutex_lock() local 79 pthread_mutex_t mutex = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP; in BM_pthread_mutex_lock_ERRORCHECK() local 89 pthread_mutex_t mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; in BM_pthread_mutex_lock_RECURSIVE() local 100 pthread_mutex_t mutex; member
|
/bionic/libc/dns/resolv/ |
D | res_data.cpp | 50 static pthread_mutex_t mutex; member in GlobalStateAccessor 54 pthread_mutex_t GlobalStateAccessor::mutex = PTHREAD_MUTEX_INITIALIZER; member in GlobalStateAccessor
|
/bionic/tests/ |
D | pthread_test.cpp | 319 pthread_mutex_t mutex; member 1470 pthread_mutex_t mutex; member in pthread_CondWakeupTest 1510 std::function<int(pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec* timeout)> in RunTimedTest() 1516 StartWaitingThread([&wait_function, &ts](pthread_cond_t* cond, pthread_mutex_t* mutex) { in RunTimedTest() 1524 void RunTimedTest(clockid_t clock, std::function<int(pthread_cond_t* cond, pthread_mutex_t* mutex, in RunTimedTest() 1528 const timespec* timeout) { in RunTimedTest() 1555 StartWaitingThread([](pthread_cond_t* cond, pthread_mutex_t* mutex) { in TEST_F() 1564 StartWaitingThread([](pthread_cond_t* cond, pthread_mutex_t* mutex) { in TEST_F() 1630 pthread_mutex_t mutex; in pthread_cond_timedwait_timeout_helper() local 1705 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; in TEST() local [all …]
|
/bionic/tools/versioner/src/ |
D | DeclarationDatabase.h | 199 std::mutex mutex; variable
|
/bionic/libfdtrack/ |
D | fdtrack.cpp | 49 std::mutex mutex; member
|