Searched refs:allocator_mutex (Results 1 – 1 of 1) sorted by relevance
71 static HANDLE allocator_mutex = 0; variable76 if (!allocator_mutex) in allocator_grab_lock()77 allocator_mutex = CreateMutex(NULL, TRUE, NULL); in allocator_grab_lock()79 WaitForSingleObject(allocator_mutex, INFINITE); in allocator_grab_lock()84 ReleaseMutex(allocator_mutex); in allocator_release_lock()133 static pthread_mutex_t allocator_mutex = PTHREAD_MUTEX_INITIALIZER; variable137 pthread_mutex_lock(&allocator_mutex); in allocator_grab_lock()142 pthread_mutex_unlock(&allocator_mutex); in allocator_release_lock()