Searched defs:mutex (Results 1 – 5 of 5) sorted by relevance
/bionic/libc/bionic/ |
D | pthread_cond.cpp | 173 static int __pthread_cond_timedwait(pthread_cond_internal_t* cond, pthread_mutex_t* mutex, in __pthread_cond_timedwait() 200 int pthread_cond_wait(pthread_cond_t* cond_interface, pthread_mutex_t* mutex) { in pthread_cond_wait() 205 int pthread_cond_timedwait(pthread_cond_t *cond_interface, pthread_mutex_t * mutex, in pthread_cond_timedwait() 215 pthread_mutex_t* mutex, in pthread_cond_timedwait_monotonic() 222 pthread_mutex_t* mutex, in pthread_cond_timedwait_monotonic_np() 230 pthread_mutex_t* mutex, in pthread_cond_timedwait_relative_np() 242 pthread_mutex_t* mutex, unsigned ms) { in pthread_cond_timeout_np()
|
D | pthread_mutex.cpp | 242 pthread_mutex_internal_t* mutex = __get_internal_mutex(mutex_interface); in pthread_mutex_init() local 275 static inline __always_inline int __pthread_normal_mutex_trylock(pthread_mutex_internal_t* mutex, in __pthread_normal_mutex_trylock() 300 static inline __always_inline int __pthread_normal_mutex_lock(pthread_mutex_internal_t* mutex, in __pthread_normal_mutex_lock() 339 static inline __always_inline void __pthread_normal_mutex_unlock(pthread_mutex_internal_t* mutex, in __pthread_normal_mutex_unlock() 379 static inline __always_inline int __recursive_increment(pthread_mutex_internal_t* mutex, in __recursive_increment() 396 pthread_mutex_internal_t* mutex, in __recursive_or_errorcheck_mutex_wait() 421 static int __pthread_mutex_lock_with_timeout(pthread_mutex_internal_t* mutex, in __pthread_mutex_lock_with_timeout() 513 pthread_mutex_internal_t* mutex = __get_internal_mutex(mutex_interface); in pthread_mutex_lock() local 537 pthread_mutex_internal_t* mutex = __get_internal_mutex(mutex_interface); in pthread_mutex_unlock() local 581 pthread_mutex_internal_t* mutex = __get_internal_mutex(mutex_interface); in pthread_mutex_trylock() local [all …]
|
/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
|
/bionic/tools/versioner/src/ |
D | DeclarationDatabase.h | 196 std::mutex mutex; variable
|
/bionic/tests/ |
D | pthread_test.cpp | 311 pthread_mutex_t mutex; member 1200 pthread_mutex_t mutex; member in pthread_CondWakeupTest 1258 StartWaitingThread([](pthread_cond_t* cond, pthread_mutex_t* mutex) { in TEST_F() 1267 StartWaitingThread([](pthread_cond_t* cond, pthread_mutex_t* mutex) { in TEST_F() 1279 StartWaitingThread([&](pthread_cond_t* cond, pthread_mutex_t* mutex) { in TEST_F() 1291 StartWaitingThread([&](pthread_cond_t* cond, pthread_mutex_t* mutex) { in TEST_F() 1299 pthread_mutex_t mutex; in TEST() local 1810 pthread_mutex_t* mutex = reinterpret_cast<pthread_mutex_t*>( in TEST() local
|