mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-17 18:21:05 +03:00
Fixed multithreading problem
This commit is contained in:
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
Sat Jul 5 00:51:30 HKT 2003 William Brack <wbrack@mmm.com.hk>
|
||||
|
||||
Fixed problem with multi-threading, shown by the test program
|
||||
testThreads. After fix, ran mutiple tests on various speed
|
||||
machines (single and dual processor X86), which all seem okay.
|
||||
|
||||
* catalog.c: added missing xmlRMutexUnlock in xmlLoadCatalog
|
||||
|
||||
* threads.c: added missing initialisation for condition variable
|
||||
in xmlNewRMutex.
|
||||
|
||||
Sat Jun 21 16:10:24 CEST 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
Applying IPv6 patch from Archana Shah <archana.shah@wipro.com>
|
||||
|
@ -2909,8 +2909,10 @@ xmlLoadCatalog(const char *filename)
|
||||
|
||||
if (xmlDefaultCatalog == NULL) {
|
||||
catal = xmlLoadACatalog(filename);
|
||||
if (catal == NULL)
|
||||
if (catal == NULL) {
|
||||
xmlRMutexUnlock(xmlCatalogMutex);
|
||||
return(-1);
|
||||
}
|
||||
|
||||
xmlDefaultCatalog = catal;
|
||||
xmlRMutexUnlock(xmlCatalogMutex);
|
||||
|
Reference in New Issue
Block a user