Home
last modified time | relevance | path

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

/external/pcre/dist/sljit/
DsljitUtils.c89 static HANDLE global_mutex = 0; variable
94 if (!global_mutex) in sljit_grab_lock()
95 global_mutex = CreateMutex(NULL, TRUE, NULL); in sljit_grab_lock()
97 WaitForSingleObject(global_mutex, INFINITE); in sljit_grab_lock()
102 ReleaseMutex(global_mutex); in sljit_release_lock()
131 static pthread_mutex_t global_mutex = PTHREAD_MUTEX_INITIALIZER; variable
135 pthread_mutex_lock(&global_mutex); in sljit_grab_lock()
140 pthread_mutex_unlock(&global_mutex); in sljit_release_lock()
/external/compiler-rt/lib/lsan/
Dlsan_common.cc32 BlockingMutex global_mutex(LINKER_INITIALIZED);
391 BlockingMutexLock l(&global_mutex); in DoLeakCheck()
603 BlockingMutexLock l(&global_mutex); in __lsan_ignore_object()
618 BlockingMutexLock l(&global_mutex); in __lsan_register_root_region()
629 BlockingMutexLock l(&global_mutex); in __lsan_unregister_root_region()