Home
last modified time | relevance | path

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

/external/libxml2/
Dthreads.c151 static pthread_mutex_t global_init_lock = PTHREAD_MUTEX_INITIALIZER; variable
164 static volatile LPCRITICAL_SECTION global_init_lock = NULL; variable
171 static int32 global_init_lock = -1; variable
444 pthread_mutex_lock(&global_init_lock); in __xmlGlobalInitMutexLock()
449 if (global_init_lock == NULL) { in __xmlGlobalInitMutexLock()
460 InterlockedCompareExchangePointer(&global_init_lock, cs, NULL); in __xmlGlobalInitMutexLock()
462 InterlockedCompareExchange((void **) &global_init_lock, in __xmlGlobalInitMutexLock()
469 if (global_init_lock != cs) { in __xmlGlobalInitMutexLock()
476 EnterCriticalSection(global_init_lock); in __xmlGlobalInitMutexLock()
483 while (global_init_lock == -1) { in __xmlGlobalInitMutexLock()
[all …]