[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: [xml] question about multi-threaded-ness of libxml2
- From: "Jones, Mark A (Mark)" <jones lucent com>
- To: "'veillard redhat com'" <veillard redhat com>, "Jones, Mark A (Mark)" <jones lucent com>
- Cc: "'xml gnome org'" <xml gnome org>
- Subject: RE: [xml] question about multi-threaded-ness of libxml2
- Date: Fri, 4 Jun 2004 10:28:11 -0400
Daniel,
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?
Thanx,
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 !
http://xmlsoft.org/examples/index.html#parse1.c
Danitl
--
Daniel Veillard | Red Hat Desktop team http://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]