Re: [xml] Locking and unlocking a part of the xml tree

On Thu, Oct 25, 2007 at 12:01:17PM +0530, Senthil Nathan wrote:
So, this api xmlMutexLock, locks the whole tree??
And, if there are multiple trees, how do we specify which tree to be locked.

Could you please give more information.

  there is no locking of tree support in libxml2.
There are lock support. They are not used for the trees but other structure.
You will have to design and implement the locking if you want 2 threads
to concurrently access and modify the same tree.


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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