| 529 | } |
| 530 | |
| 531 | static void |
| 532 | xmlGlobalInitMutexUnlock(void) { |
| 533 | #ifdef HAVE_POSIX_THREADS |
| 534 | if (XML_IS_THREADED() != 0) |
| 535 | pthread_mutex_unlock(&global_init_lock); |
| 536 | #elif defined HAVE_WIN32_THREADS |
| 537 | if (global_init_lock != NULL) |
| 538 | LeaveCriticalSection(global_init_lock); |
| 539 | #endif |
| 540 | } |
| 541 | |
| 542 | /** |
| 543 | * xmlGlobalInitMutexDestroy |