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 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.)

cheers,
Martin
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to