Home
last modified time | relevance | path

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

12

/bionic/libc/include/
Dpthread.h43 } pthread_mutex_t; typedef
164 int pthread_mutex_init(pthread_mutex_t *mutex,
166 int pthread_mutex_destroy(pthread_mutex_t *mutex);
167 int pthread_mutex_lock(pthread_mutex_t *mutex);
168 int pthread_mutex_unlock(pthread_mutex_t *mutex);
169 int pthread_mutex_trylock(pthread_mutex_t *mutex);
170 int pthread_mutex_timedlock(pthread_mutex_t *mutex, struct timespec* ts);
182 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex);
184 pthread_mutex_t * mutex,
192 pthread_mutex_t *mutex,
[all …]
/bionic/libc/bionic/
Dthread_atexit.c34 static pthread_mutex_t gAtExitLock = PTHREAD_MUTEX_INITIALIZER;
Dpthread.c54 extern void pthread_debug_mutex_lock_check(pthread_mutex_t *mutex);
55 extern void pthread_debug_mutex_unlock_check(pthread_mutex_t *mutex);
88 static pthread_mutex_t mmap_lock = PTHREAD_MUTEX_INITIALIZER;
103 static pthread_mutex_t gThreadListLock = PTHREAD_MUTEX_INITIALIZER;
104 static pthread_mutex_t gDebuggerNotificationLock = PTHREAD_MUTEX_INITIALIZER;
209 pthread_mutex_t * start_mutex = (pthread_mutex_t *)&tls[TLS_SLOT_SELF]; in __thread_entry()
304 pthread_mutex_t * start_mutex; in pthread_create()
350 start_mutex = (pthread_mutex_t *) &tls[TLS_SLOT_SELF]; in pthread_create()
989 int pthread_mutex_init(pthread_mutex_t *mutex, in pthread_mutex_init()
1037 _normal_lock(pthread_mutex_t* mutex, int shared) in _normal_lock()
[all …]
Dpthread_internal.h104 pthread_mutex_t*,
109 pthread_mutex_t*,
Dpthread_debug.c313 static pthread_mutex_t sDbgLock = PTHREAD_MUTEX_INITIALIZER;
391 pthread_mutex_t* mutex;
419 static void initMutexInfo(MutexInfo* object, pthread_mutex_t* mutex) { in initMutexInfo()
444 static MutexInfo* get_mutex_info(pthread_mutex_t *mutex);
450 extern int pthread_mutex_lock_impl(pthread_mutex_t *mutex);
451 extern int pthread_mutex_unlock_impl(pthread_mutex_t *mutex);
453 static int pthread_mutex_lock_unchecked(pthread_mutex_t *mutex) { in pthread_mutex_lock_unchecked()
457 static int pthread_mutex_unlock_unchecked(pthread_mutex_t *mutex) { in pthread_mutex_unlock_unchecked()
777 return ((MutexInfo const *)data)->mutex == *(pthread_mutex_t **)key; in MutexInfo_equals()
780 static MutexInfo* get_mutex_info(pthread_mutex_t *mutex) in get_mutex_info()
[all …]
Dpthread-atfork.c33 static pthread_mutex_t handler_mutex = PTHREAD_RECURSIVE_MUTEX_INITIALIZER;
Dlogd_write.c82 static pthread_mutex_t log_init_lock = PTHREAD_MUTEX_INITIALIZER;
Dmalloc_debug_check.c74 extern pthread_mutex_t gAllocationsMutex; in log_message()
130 static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
135 static pthread_mutex_t backlog_lock = PTHREAD_MUTEX_INITIALIZER;
Darc4random.c48 static pthread_mutex_t _arc4_lock = PTHREAD_MUTEX_INITIALIZER;
Dpthread-timers.c105 pthread_mutex_t mutex; /* lock */
117 pthread_mutex_t lock;
Dmalloc_debug_leak.c62 extern pthread_mutex_t gAllocationsMutex;
Dmalloc_debug_common.c54 pthread_mutex_t gAllocationsMutex = PTHREAD_MUTEX_INITIALIZER;
/bionic/libc/arch-x86/bionic/
D__set_tls.c63 static pthread_mutex_t _tls_desc_lock = PTHREAD_MUTEX_INITIALIZER;
/bionic/libc/stdio/
Dfileext.h41 pthread_mutex_t _lock; /* file lock */
/bionic/libc/include/sys/
Dtypes.h81 typedef .... pthread_mutex_t;
/bionic/libc/private/
Dthread_private.h44 pthread_mutex_t _private_lock;
/bionic/libc/netbsd/resolv/
Dres_random.c73 static pthread_mutex_t _res_random_lock = PTHREAD_MUTEX_INITIALIZER;
Dres_cache.c1177 pthread_mutex_t lock;
1593 static pthread_mutex_t _res_cache_list_lock;
/bionic/linker/
Ddlfcn.c45 pthread_mutex_t dl_lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER;
Dlinker.c168 static pthread_mutex_t _r_debug_lock = PTHREAD_MUTEX_INITIALIZER;
/bionic/libc/unistd/
Dopendir.c42 pthread_mutex_t _DIR_lock;
/bionic/libc/netbsd/net/
Dreentrant.h106 #define mutex_t pthread_mutex_t
/bionic/libc/docs/
DCHANGES.TXT189 Modify the pthread_mutex_t and pthread_cond_t implementation to use private
DOVERVIEW.TXT128 - pthread_mutex_t, pthread_cond_t are only 4 bytes each.
/bionic/libc/stdlib/
Dstrtod.c374 static pthread_mutex_t freelist_mutex = PTHREAD_MUTEX_INITIALIZER;
757 static pthread_mutex_t p5s_mutex = PTHREAD_MUTEX_INITIALIZER;

12