Home
last modified time | relevance | path

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

/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_atfork.c24 pthread_mutex_t glock = PTHREAD_MUTEX_INITIALIZER; variable
38 int ret = pthread_mutex_lock(&glock); in prepare()
45 int ret = pthread_mutex_unlock(&glock); in parent()
52 int ret = pthread_mutex_unlock(&glock); in child()
62 pthread_mutex_lock(&glock); in thread_fun()
64 pthread_mutex_unlock(&glock); in thread_fun()
68 pthread_mutex_lock(&glock); in thread_fun()
70 pthread_mutex_unlock(&glock); in thread_fun()
104 pthread_mutex_lock(&glock); in pthread_atfork_0100()
106 pthread_mutex_unlock(&glock); in pthread_atfork_0100()