Re: [xml] is libxml2 library thread safe

On 22.01.2012 23:15, ajay bhadauria wrote:
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 with xmlInitParser()

I would assume that xmlSchemaValidCtxtPtr is also thread-safe in general. (As long as you do not use it on the same object.)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]