[xml] question about multi-threaded-ness of libxml2
- From: "Jones, Mark A (Mark)" <jones lucent com>
- To: xml gnome org
- Cc: "Jones, Mark A \(Mark\)" <jones lucent com>
- Subject: [xml] question about multi-threaded-ness of libxml2
- Date: Wed, 2 Jun 2004 08:14:16 -0400
All,
I am currently investigating the use of libxml2 in a prototype. It works well in a single-thread
environment, but things seem to fall apart in a multi-threaded environment. In the MT environment I see a
lot of core dumps in
malloc'ing and free'ing memory which leaves me a little concerned about libxml2 and its use of global memory.
I'm currently using libxml 2.6.4.
Question:
libxml2 seems to use a good amount of global memory (as in the cleanup work being done in
xmlCleanupParser()). Is there something special that I need to do for this to work in a MT environment?
Thanx,
M. Jones
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]