Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/gabi++/tests/
Dmalloc_lockup.cpp66 static pthread_mutex_t g_lock = PTHREAD_MUTEX_INITIALIZER; variable
82 pthread_mutex_lock(&g_lock); in my_thread()
89 pthread_cond_wait(&g_cond_exit, &g_lock); in my_thread()
90 pthread_mutex_unlock(&g_lock); in my_thread()
130 pthread_mutex_lock(&g_lock); in main()
132 pthread_cond_wait(&g_cond_counter, &g_lock); in main()
137 pthread_mutex_unlock(&g_lock); in main()