diff options
author | Daniel Veillard <veillard@redhat.com> | 2009-06-04 11:08:39 +0200 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2009-06-04 11:08:39 +0200 |
commit | 7dd7080ad70c59ab21514b741a47128eb424dd35 (patch) | |
tree | 479f93fc2d4c0be08348b60092e8ff6e301d5dfb /threads.c | |
parent | 4d3e2da7f862d37e0f9adbd476531f43e02f495d (diff) | |
download | libxml2-7dd7080ad70c59ab21514b741a47128eb424dd35.tar.gz |
* parser.c threads.c: change the threading initialization sequence
as suggested by Igor Novoseltsev to avoid crash if xmlInitParser()
is called from a thread which is not the main one, should fix
#584605
daniel
Diffstat (limited to 'threads.c')
-rw-r--r-- | threads.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -852,9 +852,6 @@ xmlUnlockLibrary(void) void xmlInitThreads(void) { -#ifdef DEBUG_THREADS - xmlGenericError(xmlGenericErrorContext, "xmlInitThreads()\n"); -#endif #if defined(HAVE_WIN32_THREADS) && !defined(HAVE_COMPILER_TLS) && (!defined(LIBXML_STATIC) || defined(LIBXML_STATIC_FOR_DLL)) InitializeCriticalSection(&cleanup_helpers_cs); #endif |