Re: [xml] is libxml2 library thread safe

2012-01-26 Thread Daniel Veillard
On Mon, Jan 23, 2012 at 10:11:58AM +0100, Martin B. wrote: On 22.01.2012 23:15, ajay bhadauria wrote: Hi, Is libxml2 library is thread safe ? Can we use the same xmlSchemaValidCtxtPtr across the threads for schema validation ? libxml2 is thread-safe after the library has been initialized

Re: [xml] is libxml2 library thread safe

2012-01-23 Thread Alex Bligh
--On 23 January 2012 10:11:58 +0100 Martin B. 0xcdcdc...@gmx.at wrote: libxml2 is thread-safe after the library has been initialized with xmlInitParser() Is that really true? Are node attach and detach operations atomic in their tree modifications? I don't think I would feel happy

Re: [xml] is libxml2 library thread safe

2012-01-23 Thread Martin B.
On 23.01.2012 10:36, Alex Bligh wrote: --On 23 January 2012 10:11:58 +0100 Martin B. 0xcdcdc...@gmx.at wrote: libxml2 is thread-safe after the library has been initialized with xmlInitParser() Is that really true? Are node attach and detach operations atomic in their tree modifications? I