/bionic/libc/include/ |
D | pthread.h | 124 int pthread_cond_clockwait(pthread_cond_t* __cond, pthread_mutex_t* __mutex, clockid_t __clock, 129 int pthread_cond_timedwait(pthread_cond_t* __cond, pthread_mutex_t* __mutex, const struct timespec*… 140 int pthread_cond_timedwait_monotonic_np(pthread_cond_t* __cond, pthread_mutex_t* __mutex, 142 int pthread_cond_wait(pthread_cond_t* __cond, pthread_mutex_t* __mutex); 188 int pthread_mutex_clocklock(pthread_mutex_t* __mutex, clockid_t __clock, 190 int pthread_mutex_destroy(pthread_mutex_t* __mutex); 191 int pthread_mutex_init(pthread_mutex_t* __mutex, const pthread_mutexattr_t* __attr); 192 int pthread_mutex_lock(pthread_mutex_t* __mutex); 193 int pthread_mutex_timedlock(pthread_mutex_t* __mutex, const struct timespec* __timeout) 205 int pthread_mutex_timedlock_monotonic_np(pthread_mutex_t* __mutex, const struct timespec* __timeout) [all …]
|
D | threads.h | 51 typedef pthread_mutex_t mtx_t;
|
/bionic/tests/headers/posix/ |
D | pthread_h.c | 72 pthread_mutex_t m0 = PTHREAD_MUTEX_INITIALIZER; in pthread_h() 81 TYPE(pthread_mutex_t); in pthread_h() 122 …FUNCTION(pthread_cond_timedwait, int (*f)(pthread_cond_t*, pthread_mutex_t*, const struct timespec… in pthread_h() 123 FUNCTION(pthread_cond_wait, int (*f)(pthread_cond_t*, pthread_mutex_t*)); in pthread_h() 144 FUNCTION(pthread_mutex_consistent, int (*f)(pthread_mutex_t*)); in pthread_h() 146 FUNCTION(pthread_mutex_destroy, int (*f)(pthread_mutex_t*)); in pthread_h() 148 FUNCTION(pthread_mutex_getprioceiling, int (*f)(const pthread_mutex_t*, int*)); in pthread_h() 150 FUNCTION(pthread_mutex_init, int (*f)(pthread_mutex_t*, const pthread_mutexattr_t*)); in pthread_h() 151 FUNCTION(pthread_mutex_lock, int (*f)(pthread_mutex_t*)); in pthread_h() 153 FUNCTION(pthread_mutex_setprioceiling, int (*f)(pthread_mutex_t*, int, int*)); in pthread_h() [all …]
|
D | sys_types_h.c | 55 TYPE(pthread_mutex_t); in sys_types_h()
|
/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() 213 pthread_mutex_t* mutex, in pthread_cond_timedwait_monotonic_np() 218 int pthread_cond_clockwait(pthread_cond_t* cond_interface, pthread_mutex_t* mutex, clockid_t clock, in pthread_cond_clockwait() 233 pthread_mutex_t* mutex, in pthread_cond_timedwait_monotonic() 241 pthread_mutex_t* mutex, in pthread_cond_timedwait_relative_np() 253 pthread_mutex_t* mutex, unsigned ms) { in pthread_cond_timeout_np()
|
D | pthread_mutex.cpp | 489 static_assert(sizeof(pthread_mutex_t) == sizeof(pthread_mutex_internal_t), 494 static_assert(alignof(pthread_mutex_t) == 4, 497 static inline pthread_mutex_internal_t* __get_internal_mutex(pthread_mutex_t* mutex_interface) { in __get_internal_mutex() 501 int pthread_mutex_init(pthread_mutex_t* mutex_interface, const pthread_mutexattr_t* attr) { in pthread_mutex_init() 800 static int __attribute__((noinline)) HandleUsingDestroyedMutex(pthread_mutex_t* mutex, in HandleUsingDestroyedMutex() 808 int pthread_mutex_lock(pthread_mutex_t* mutex_interface) { in pthread_mutex_lock() 842 int pthread_mutex_unlock(pthread_mutex_t* mutex_interface) { in pthread_mutex_unlock() 900 int pthread_mutex_trylock(pthread_mutex_t* mutex_interface) { in pthread_mutex_trylock() 948 extern "C" int pthread_mutex_lock_timeout_np(pthread_mutex_t* mutex_interface, unsigned ms) { in pthread_mutex_lock_timeout_np() 962 static int __pthread_mutex_timedlock(pthread_mutex_t* mutex_interface, bool use_realtime_clock, in __pthread_mutex_timedlock() [all …]
|
D | thread_private.cpp | 34 static pthread_mutex_t g_arc4_lock = PTHREAD_MUTEX_INITIALIZER;
|
D | malloc_common_dynamic.h | 46 extern pthread_mutex_t gGlobalsMutateLock;
|
D | pthread_atfork.cpp | 113 static pthread_mutex_t g_atfork_list_mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
|
D | dirent.cpp | 57 pthread_mutex_t mutex_;
|
D | atexit.cpp | 194 static pthread_mutex_t g_atexit_lock = PTHREAD_MUTEX_INITIALIZER;
|
D | malloc_common_dynamic.cpp | 77 pthread_mutex_t gGlobalsMutateLock = PTHREAD_MUTEX_INITIALIZER;
|
/bionic/libc/private/ |
D | thread_private.h | 19 #define _THREAD_PRIVATE_MUTEX(name) static pthread_mutex_t __MUTEX_NAME(name) = PTHREAD_MUTEX_INITI… 24 #define _MUTEX_LOCK(l) pthread_mutex_lock((pthread_mutex_t*) l) 25 #define _MUTEX_UNLOCK(l) pthread_mutex_unlock((pthread_mutex_t*) l)
|
D | ScopedPthreadMutexLocker.h | 25 explicit ScopedPthreadMutexLocker(pthread_mutex_t* mu) : mu_(mu) { in ScopedPthreadMutexLocker() 34 pthread_mutex_t* mu_;
|
D | bionic_globals.h | 89 pthread_mutex_t abort_msg_lock = PTHREAD_MUTEX_INITIALIZER;
|
/bionic/tests/ |
D | pthread_test.cpp | 317 pthread_mutex_t mutex; 1471 pthread_mutex_t mutex; 1482 std::function<int (pthread_cond_t* cond, pthread_mutex_t* mutex)> wait_function; 1498 std::function<int(pthread_cond_t* cond, pthread_mutex_t* mutex)> wait_function) { in StartWaitingThread() 1511 std::function<int(pthread_cond_t* cond, pthread_mutex_t* mutex, const timespec* timeout)> in RunTimedTest() 1517 StartWaitingThread([&wait_function, &ts](pthread_cond_t* cond, pthread_mutex_t* mutex) { in RunTimedTest() 1525 void RunTimedTest(clockid_t clock, std::function<int(pthread_cond_t* cond, pthread_mutex_t* mutex, in RunTimedTest() 1528 RunTimedTest(clock, [clock, &wait_function](pthread_cond_t* cond, pthread_mutex_t* mutex, in RunTimedTest() 1556 StartWaitingThread([](pthread_cond_t* cond, pthread_mutex_t* mutex) { in TEST_F() 1565 StartWaitingThread([](pthread_cond_t* cond, pthread_mutex_t* mutex) { in TEST_F() [all …]
|
/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() 100 pthread_mutex_t mutex;
|
/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 | 29 #define mutex_t pthread_mutex_t
|
/bionic/libc/upstream-freebsd/lib/libc/stdlib/ |
D | quick_exit.c | 49 static pthread_mutex_t atexit_mutex = PTHREAD_MUTEX_INITIALIZER;
|
/bionic/libc/include/bits/ |
D | pthread_types.h | 78 } pthread_mutex_t; typedef
|
/bionic/linker/ |
D | linker_gdb_support.cpp | 43 static pthread_mutex_t g__r_debug_mutex = PTHREAD_MUTEX_INITIALIZER;
|
D | dlfcn.cpp | 97 static pthread_mutex_t g_dl_mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
|
/bionic/libc/stdio/ |
D | local.h | 132 pthread_mutex_t _lock;
|
/bionic/docs/ |
D | 32-bit-abi.md | 103 ## `pthread_mutex_t` is too small for large pids
|