[yunqa.de] Re: DIXml thread safety

  • From: Delphi Inspiration <delphi@xxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Mon, 30 Sep 2013 20:32:18 +0200

On 30.09.2013 17:33, Максим Сычёв wrote:

Is DIXml thread safe?

Concurrent threads can safely work in parallel parsing different documents. However, ensure that you call xmlInitParser() and xsltInit() in the main thread before any other API.

Thread safety can not be ensured for multiple threads sharing the same document. This would require locking at the application level.

XPath and XSLT may be used from multiple threads but only on non-modified documents. In other words, they should be considered absolutely read-only.

Ralf
_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts: