Re: [xml] xmlCleanupGlobals reentrancy

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

  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,



Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]