RE: [xml] question about multi-threaded-ness of libxml2


I followed your suggestion and I saw a marked improvement.  Many thanx.  I am still see periodic memory 
corruption (malloc/free failing).  Do you know of a good tool (freeware) that can help me track down the 
culprit that's corrupting memory?


M. Jones

-----Original Message-----
From: Daniel Veillard [mailto:veillard redhat com]
Sent: Wednesday, June 02, 2004 9:42 AM
To: Jones, Mark A (Mark)
Cc: 'xml gnome org'
Subject: Re: [xml] question about multi-threaded-ness of libxml2

On Wed, Jun 02, 2004 at 09:04:13AM -0400, Jones, Mark A (Mark) wrote:
Follow up on my question 1 below:

If I were to call xmlInitParser() before I start creating threads, but within the threads, I call the 
parser several times (say to encode SOAP/XML messages) without calling xmlCleanupParser().  How then is the 
xmlDocPtr cleaned up for
each invocation of the parser within a thread?

  Please have a look at the basic examples on-line, really !


Daniel Veillard      | Red Hat Desktop team
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]