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

/external/libxml2/
H A Dthreads.c138 static pthread_mutex_t global_init_lock = PTHREAD_MUTEX_INITIALIZER; variable
151 static volatile LPCRITICAL_SECTION global_init_lock = NULL; variable
158 static int32 global_init_lock = -1; variable
436 pthread_mutex_lock(&global_init_lock);
441 if (global_init_lock == NULL) {
450 /* Swap it into the global_init_lock */
452 InterlockedCompareExchangePointer((void **) &global_init_lock,
455 InterlockedCompareExchange((void **) &global_init_lock,
460 * section in the global_init_lock then discard the one
462 if (global_init_lock !
[all...]

Completed in 118 milliseconds