Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_cond.cpp152 int __pthread_cond_timedwait_relative(pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec*… in __pthread_cond_timedwait_relative()
166 int __pthread_cond_timedwait(pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec* abstime,… in __pthread_cond_timedwait()
190 int pthread_cond_wait(pthread_cond_t* cond, pthread_mutex_t* mutex) { in pthread_cond_wait()
194 int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t * mutex, const timespec *abstime) { in pthread_cond_timedwait()
200 extern "C" int pthread_cond_timedwait_monotonic(pthread_cond_t* cond, pthread_mutex_t* mutex, const… in pthread_cond_timedwait_monotonic()
204 extern "C" int pthread_cond_timedwait_monotonic_np(pthread_cond_t* cond, pthread_mutex_t* mutex, co… in pthread_cond_timedwait_monotonic_np()
208 extern "C" int pthread_cond_timedwait_relative_np(pthread_cond_t* cond, pthread_mutex_t* mutex, con… in pthread_cond_timedwait_relative_np()
212 extern "C" int pthread_cond_timeout_np(pthread_cond_t* cond, pthread_mutex_t* mutex, unsigned ms) { in pthread_cond_timeout_np()
Dpthread_mutex.cpp266 int pthread_mutex_init(pthread_mutex_t* mutex, const pthread_mutexattr_t* attr) { in pthread_mutex_init()
308 static inline void _normal_lock(pthread_mutex_t* mutex, int shared) { in _normal_lock()
347 static inline void _normal_unlock(pthread_mutex_t* mutex, int shared) { in _normal_unlock()
409 static inline __always_inline int _recursive_increment(pthread_mutex_t* mutex, int mvalue, int mtyp… in _recursive_increment()
442 int pthread_mutex_lock(pthread_mutex_t* mutex) { in pthread_mutex_lock()
524 int pthread_mutex_unlock(pthread_mutex_t* mutex) { in pthread_mutex_unlock()
582 int pthread_mutex_trylock(pthread_mutex_t* mutex) { in pthread_mutex_trylock()
622 static int __pthread_mutex_timedlock(pthread_mutex_t* mutex, const timespec* abs_timeout, clockid_t… in __pthread_mutex_timedlock()
724 extern "C" int pthread_mutex_lock_timeout_np(pthread_mutex_t* mutex, unsigned ms) { in pthread_mutex_lock_timeout_np()
742 int pthread_mutex_timedlock(pthread_mutex_t* mutex, const timespec* abs_timeout) { in pthread_mutex_timedlock()
[all …]
/bionic/benchmarks/
Dpthread_benchmark.cpp69 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; in BM_pthread_mutex_lock() local
83 pthread_mutex_t mutex = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER; in BM_pthread_mutex_lock_ERRORCHECK() local
97 pthread_mutex_t mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER; in BM_pthread_mutex_lock_RECURSIVE() local
/bionic/tests/
Dpthread_test.cpp237 pthread_mutex_t mutex; member
/bionic/libc/upstream-dlmalloc/
Dmalloc.c2597 MLOCK_T mutex; /* locate lock among fields that rarely change */ member