Home
last modified time | relevance | path

Searched defs:mutex (Results 1 – 7 of 7) sorted by relevance

/bionic/libc/bionic/
Dpthread_mutex.cpp148 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 …]
Dpthread_cond.cpp184 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()
255 pthread_mutex_t* mutex, in pthread_cond_timedwait_monotonic()
265 pthread_mutex_t* mutex, in pthread_cond_timedwait_relative_np()
281 pthread_mutex_t* mutex, unsigned ms) { in pthread_cond_timeout_np()
/bionic/benchmarks/
Dpthread_benchmark.cpp69 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; in BM_pthread_mutex_lock() local
80 pthread_mutex_t mutex = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP; in BM_pthread_mutex_lock_ERRORCHECK() local
92 pthread_mutex_t mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; in BM_pthread_mutex_lock_RECURSIVE() local
104 pthread_mutex_t mutex; member
/bionic/libc/dns/resolv/
Dres_data.cpp50 static pthread_mutex_t mutex; member in GlobalStateAccessor
54 pthread_mutex_t GlobalStateAccessor::mutex = PTHREAD_MUTEX_INITIALIZER; member in GlobalStateAccessor
/bionic/tests/
Dpthread_test.cpp345 pthread_mutex_t mutex; member
1510 pthread_mutex_t mutex; member in pthread_CondWakeupTest
1551 std::function<int(pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec* timeout)> in RunTimedTest()
1556 StartWaitingThread([&wait_function, this](pthread_cond_t* cond, pthread_mutex_t* mutex) { in RunTimedTest()
1564 void RunTimedTest(clockid_t clock, std::function<int(pthread_cond_t* cond, pthread_mutex_t* mutex, in RunTimedTest()
1568 const timespec* timeout) { in RunTimedTest()
1595 StartWaitingThread([](pthread_cond_t* cond, pthread_mutex_t* mutex) { in TEST_F()
1604 StartWaitingThread([](pthread_cond_t* cond, pthread_mutex_t* mutex) { in TEST_F()
1670 pthread_mutex_t mutex; in pthread_cond_timedwait_timeout_helper() local
1745 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; in TEST() local
[all …]
/bionic/tools/versioner/src/
DDeclarationDatabase.h199 std::mutex mutex; variable
/bionic/libfdtrack/
Dfdtrack.cpp54 std::mutex mutex; member