Re: [xml] xmlCleanupGlobals reentrancy
- From: Daniel Veillard <veillard redhat com>
- To: Rob Richards <rrichards ctindustries net>
- Cc: xml gnome org
- Subject: Re: [xml] xmlCleanupGlobals reentrancy
- Date: Tue, 15 Jul 2003 16:02:45 -0400
On Tue, Jul 15, 2003 at 02:48:10PM -0400, Rob Richards wrote:
I see that a test for xmlThrDefMutex == NULL was added in xmlCleanupGlobals
after the 2.5.8 release.
Is it also possible to also set xmlThrDefMutex = NULL after calling
xmlFreeMutex which would make the xmlCleanupParser reentrant safe again? I
see that there is more threading work going to be added, so figure I would
ask.
This makes some sense. This doesn't make it reentrant per see (one would
need to take a lock), but this allow to call it twice in sequence without
harm, so done, and commited,
thanks,
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]