Searched refs:pthread_mutex_t (Results 1 – 24 of 24) sorted by relevance
/bionic/libc/bionic/ |
D | thread_private.cpp | 34 static pthread_mutex_t g_atexit_lock = PTHREAD_MUTEX_INITIALIZER; 44 static pthread_mutex_t g_arc4_lock = PTHREAD_MUTEX_INITIALIZER;
|
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 | 229 static_assert(sizeof(pthread_mutex_t) == sizeof(pthread_mutex_internal_t), 234 static_assert(alignof(pthread_mutex_t) == 4, 237 static inline pthread_mutex_internal_t* __get_internal_mutex(pthread_mutex_t* mutex_interface) { in __get_internal_mutex() 241 int pthread_mutex_init(pthread_mutex_t* mutex_interface, const pthread_mutexattr_t* attr) { in pthread_mutex_init() 503 int pthread_mutex_lock(pthread_mutex_t* mutex_interface) { in pthread_mutex_lock() 527 int pthread_mutex_unlock(pthread_mutex_t* mutex_interface) { in pthread_mutex_unlock() 580 int pthread_mutex_trylock(pthread_mutex_t* mutex_interface) { in pthread_mutex_trylock() 621 extern "C" int pthread_mutex_lock_timeout_np(pthread_mutex_t* mutex_interface, unsigned ms) { in pthread_mutex_lock_timeout_np() 635 int pthread_mutex_timedlock(pthread_mutex_t* mutex_interface, const timespec* abs_timeout) { in pthread_mutex_timedlock() 640 int pthread_mutex_destroy(pthread_mutex_t* mutex_interface) { in pthread_mutex_destroy()
|
D | android_set_abort_message.cpp | 36 static pthread_mutex_t g_abort_msg_lock = PTHREAD_MUTEX_INITIALIZER;
|
D | pthread_atfork.cpp | 113 static pthread_mutex_t g_atfork_list_mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
|
D | dirent.cpp | 54 pthread_mutex_t mutex_;
|
/bionic/libc/private/ |
D | ScopedPthreadMutexLocker.h | 26 explicit ScopedPthreadMutexLocker(pthread_mutex_t* mu) : mu_(mu) { in ScopedPthreadMutexLocker() 35 pthread_mutex_t* mu_;
|
D | thread_private.h | 25 pthread_mutex_t _private_lock; 37 #define _MUTEX_LOCK(l) pthread_mutex_lock((pthread_mutex_t*) l) 38 #define _MUTEX_UNLOCK(l) pthread_mutex_unlock((pthread_mutex_t*) l)
|
/bionic/libc/include/ |
D | pthread.h | 122 int pthread_cond_timedwait(pthread_cond_t* _Nonnull, pthread_mutex_t* _Nonnull, 124 int pthread_cond_wait(pthread_cond_t* _Nonnull, pthread_mutex_t* _Nonnull); 155 int pthread_mutex_destroy(pthread_mutex_t* _Nonnull); 156 int pthread_mutex_init(pthread_mutex_t* _Nonnull, const pthread_mutexattr_t*); 157 int pthread_mutex_lock(pthread_mutex_t* _Nonnull); 158 int pthread_mutex_timedlock(pthread_mutex_t* _Nonnull, const struct timespec* _Nonnull) 160 int pthread_mutex_trylock(pthread_mutex_t* _Nonnull); 161 int pthread_mutex_unlock(pthread_mutex_t* _Nonnull); 176 int pthread_mutex_lock_timeout_np(pthread_mutex_t* mutex, unsigned msecs); 177 int pthread_cond_timeout_np(pthread_cond_t* cond, pthread_mutex_t* mutex, unsigned msecs); [all …]
|
/bionic/libc/upstream-openbsd/android/ |
D | gdtoa_support.cpp | 19 __LIBC_HIDDEN__ pthread_mutex_t __dtoa_locks[] = { PTHREAD_MUTEX_INITIALIZER, PTHREAD_MUTEX_INITIAL…
|
/bionic/libc/upstream-netbsd/android/include/ |
D | reentrant.h | 30 #define mutex_t pthread_mutex_t
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | quick_exit.c | 45 static pthread_mutex_t atexit_mutex = PTHREAD_MUTEX_INITIALIZER;
|
/bionic/benchmarks/ |
D | pthread_benchmark.cpp | 69 pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; in BM_pthread_mutex_lock() 79 pthread_mutex_t mutex = PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP; in BM_pthread_mutex_lock_ERRORCHECK() 89 pthread_mutex_t mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; in BM_pthread_mutex_lock_RECURSIVE()
|
/bionic/libc/include/bits/ |
D | pthread_types.h | 79 } pthread_mutex_t; typedef
|
/bionic/libc/malloc_debug/ |
D | FreeTrackData.h | 64 pthread_mutex_t mutex_ = PTHREAD_MUTEX_INITIALIZER;
|
D | TrackData.h | 70 pthread_mutex_t mutex_ = PTHREAD_MUTEX_INITIALIZER;
|
/bionic/libc/upstream-netbsd/lib/libc/resolv/ |
D | mtctxres.c | 109 static pthread_mutex_t keylock = PTHREAD_MUTEX_INITIALIZER; in ___mtctxres()
|
/bionic/tests/ |
D | pthread_test.cpp | 311 pthread_mutex_t mutex; 1200 pthread_mutex_t mutex; 1211 std::function<int (pthread_cond_t* cond, pthread_mutex_t* mutex)> wait_function; 1226 …void StartWaitingThread(std::function<int (pthread_cond_t* cond, pthread_mutex_t* mutex)> wait_fun… in StartWaitingThread() 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() 1498 static pthread_mutex_t pthread_gettid_np_mutex = PTHREAD_MUTEX_INITIALIZER; [all …]
|
/bionic/linker/ |
D | linker_gdb_support.cpp | 43 static pthread_mutex_t g__r_debug_mutex = PTHREAD_MUTEX_INITIALIZER;
|
D | dlfcn.cpp | 44 static pthread_mutex_t g_dl_mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
|
/bionic/libc/stdio/ |
D | local.h | 117 pthread_mutex_t _lock;
|
/bionic/ |
D | README.md | 245 Note that due to ABI limitations (specifically, the size of pthread_mutex_t),
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 1244 static pthread_mutex_t _res_cache_list_lock;
|
/bionic/libc/tzcode/ |
D | localtime.c | 21 static pthread_mutex_t locallock = PTHREAD_MUTEX_INITIALIZER;
|