[xml] Thread safety of libXML2?
- From: David Hagood <wowbagger sktc net>
- To: xml gnome org
- Subject: [xml] Thread safety of libXML2?
- Date: Thu, 26 Oct 2006 16:33:49 -0500 (CDT)
Assume that I have a single xmlSaveCtxtPtr that has been created, and is
visible to multiple threads within a program.
Assume that I have multiple threads creating multiple document fragments
(separate xmlNodePtr objects, one per thread), using various xmlNewChild
and the like calls. Assume that only one thread manipulates any given
xmlNodePtr.
Is the call to xmlSaveTree intrinsically thread safe, or do I have to do
my thread protection outside of xmlSaveTree?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]