Searched refs:global_init_lock (Results 1 – 2 of 2) sorted by relevance
138 static pthread_mutex_t global_init_lock = PTHREAD_MUTEX_INITIALIZER; variable151 static volatile LPCRITICAL_SECTION global_init_lock = NULL; variable158 static int32 global_init_lock = -1; variable436 pthread_mutex_lock(&global_init_lock); in __xmlGlobalInitMutexLock()441 if (global_init_lock == NULL) { in __xmlGlobalInitMutexLock()452 InterlockedCompareExchangePointer((void **) &global_init_lock, in __xmlGlobalInitMutexLock()455 InterlockedCompareExchange((void **) &global_init_lock, in __xmlGlobalInitMutexLock()462 if (global_init_lock != cs) { in __xmlGlobalInitMutexLock()469 EnterCriticalSection(global_init_lock); in __xmlGlobalInitMutexLock()476 while (global_init_lock == -1) { in __xmlGlobalInitMutexLock()[all …]
996 __xmlGlobalInitMutexDestroy() will free global_init_lock on Win32.