Home
last modified time | relevance | path

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

/external/pcre/dist2/src/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.cc33 BlockingMutex global_mutex(LINKER_INITIALIZED);
476 BlockingMutexLock l(&global_mutex); in DoLeakCheck()
490 BlockingMutexLock l(&global_mutex); in DoRecoverableLeakCheck()
672 BlockingMutexLock l(&global_mutex); in __lsan_ignore_object()
687 BlockingMutexLock l(&global_mutex); in __lsan_register_root_region()
698 BlockingMutexLock l(&global_mutex); in __lsan_unregister_root_region()