Home
last modified time | relevance | path

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

/PHP-7.2/ext/pcre/pcrelib/sljit/
H A DsljitUtils.c69 static HANDLE allocator_mutex = 0; variable
74 if (!allocator_mutex) in allocator_grab_lock()
75 allocator_mutex = CreateMutex(NULL, TRUE, NULL); in allocator_grab_lock()
77 WaitForSingleObject(allocator_mutex, INFINITE); in allocator_grab_lock()
82 ReleaseMutex(allocator_mutex); in allocator_release_lock()
113 static pthread_mutex_t allocator_mutex = PTHREAD_MUTEX_INITIALIZER; variable
117 pthread_mutex_lock(&allocator_mutex); in allocator_grab_lock()
122 pthread_mutex_unlock(&allocator_mutex); in allocator_release_lock()

Completed in 4 milliseconds