MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlGlobalInitMutexDestroy

Function xmlGlobalInitMutexDestroy

ThirdParty/libxml2/vtklibxml2/threads.c:548–558  ·  view source on GitHub ↗

* xmlGlobalInitMutexDestroy * * Makes sure that the global initialization mutex is destroyed before * application termination. */

Source from the content-addressed store, hash-verified

546 * application termination.
547 */
548static void
549xmlGlobalInitMutexDestroy(void) {
550#ifdef HAVE_POSIX_THREADS
551#elif defined HAVE_WIN32_THREADS
552 if (global_init_lock != NULL) {
553 DeleteCriticalSection(global_init_lock);
554 free(global_init_lock);
555 global_init_lock = NULL;
556 }
557#endif
558}
559
560/**
561 * xmlInitParser:

Callers 1

xmlCleanupParserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected