Home
last modified time | relevance | path

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

/PHP-5.4/ext/pcre/pcrelib/sljit/
H A 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()

Completed in 6 milliseconds