Searched refs:global_mutex (Results 1 – 1 of 1) sorted by relevance
89 static HANDLE global_mutex = 0; variable94 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; variable135 pthread_mutex_lock(&global_mutex); in sljit_grab_lock()140 pthread_mutex_unlock(&global_mutex); in sljit_release_lock()
Completed in 4 milliseconds