Home
last modified time | relevance | path

Searched refs:key_lock (Results 1 – 2 of 2) sorted by relevance

/third_party/musl/src/thread/
Dpthread_key_create.c8 static pthread_rwlock_t key_lock = PTHREAD_RWLOCK_INITIALIZER; variable
34 __pthread_rwlock_wrlock(&key_lock); in __pthread_key_create()
39 __pthread_rwlock_unlock(&key_lock); in __pthread_key_create()
44 __pthread_rwlock_unlock(&key_lock); in __pthread_key_create()
54 __pthread_rwlock_wrlock(&key_lock); in __pthread_key_delete()
63 __pthread_rwlock_unlock(&key_lock); in __pthread_key_delete()
74 __pthread_rwlock_rdlock(&key_lock); in __pthread_tsd_run_dtors()
81 __pthread_rwlock_unlock(&key_lock); in __pthread_tsd_run_dtors()
83 __pthread_rwlock_rdlock(&key_lock); in __pthread_tsd_run_dtors()
86 __pthread_rwlock_unlock(&key_lock); in __pthread_tsd_run_dtors()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Ddtls.c51 static GMutex key_lock; variable
60 g_mutex_lock (&key_lock); in bus_msg_handler()
63 g_mutex_unlock (&key_lock); in bus_msg_handler()
72 g_mutex_lock (&key_lock); in _on_key_received()
75 g_mutex_unlock (&key_lock); in _on_key_received()
81 g_mutex_lock (&key_lock); in _wait_for_key_count_to_reach()
83 g_cond_wait (&key_cond, &key_lock); in _wait_for_key_count_to_reach()
87 g_mutex_unlock (&key_lock); in _wait_for_key_count_to_reach()
89 g_mutex_lock (&key_lock); in _wait_for_key_count_to_reach()
92 g_mutex_unlock (&key_lock); in _wait_for_key_count_to_reach()