Home
last modified time | relevance | path

Searched refs:pthread_mutex_t (Results 1 – 24 of 24) sorted by relevance

/bionic/libc/bionic/
Dthread_private.cpp34 static pthread_mutex_t g_atexit_lock = PTHREAD_MUTEX_INITIALIZER;
44 static pthread_mutex_t g_arc4_lock = PTHREAD_MUTEX_INITIALIZER;
Dpthread_cond.cpp173 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()
Dpthread_mutex.cpp229 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()
Dandroid_set_abort_message.cpp36 static pthread_mutex_t g_abort_msg_lock = PTHREAD_MUTEX_INITIALIZER;
Dpthread_atfork.cpp113 static pthread_mutex_t g_atfork_list_mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
Ddirent.cpp54 pthread_mutex_t mutex_;
/bionic/libc/private/
DScopedPthreadMutexLocker.h26 explicit ScopedPthreadMutexLocker(pthread_mutex_t* mu) : mu_(mu) { in ScopedPthreadMutexLocker()
35 pthread_mutex_t* mu_;
Dthread_private.h25 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/
Dpthread.h122 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/
Dgdtoa_support.cpp19 __LIBC_HIDDEN__ pthread_mutex_t __dtoa_locks[] = { PTHREAD_MUTEX_INITIALIZER, PTHREAD_MUTEX_INITIAL…
/bionic/libc/upstream-netbsd/android/include/
Dreentrant.h30 #define mutex_t pthread_mutex_t
/bionic/libc/upstream-freebsd/lib/libc/stdlib/
Dquick_exit.c45 static pthread_mutex_t atexit_mutex = PTHREAD_MUTEX_INITIALIZER;
/bionic/benchmarks/
Dpthread_benchmark.cpp69 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/
Dpthread_types.h79 } pthread_mutex_t; typedef
/bionic/libc/malloc_debug/
DFreeTrackData.h64 pthread_mutex_t mutex_ = PTHREAD_MUTEX_INITIALIZER;
DTrackData.h70 pthread_mutex_t mutex_ = PTHREAD_MUTEX_INITIALIZER;
/bionic/libc/upstream-netbsd/lib/libc/resolv/
Dmtctxres.c109 static pthread_mutex_t keylock = PTHREAD_MUTEX_INITIALIZER; in ___mtctxres()
/bionic/tests/
Dpthread_test.cpp311 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/
Dlinker_gdb_support.cpp43 static pthread_mutex_t g__r_debug_mutex = PTHREAD_MUTEX_INITIALIZER;
Ddlfcn.cpp44 static pthread_mutex_t g_dl_mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
/bionic/libc/stdio/
Dlocal.h117 pthread_mutex_t _lock;
/bionic/
DREADME.md245 Note that due to ABI limitations (specifically, the size of pthread_mutex_t),
/bionic/libc/dns/resolv/
Dres_cache.c1244 static pthread_mutex_t _res_cache_list_lock;
/bionic/libc/tzcode/
Dlocaltime.c21 static pthread_mutex_t locallock = PTHREAD_MUTEX_INITIALIZER;