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

On Wed, Oct 24, 2007 at 04:54:42PM -0500, david hagood gmail com wrote:

  No. There is no locking in place in libxml2 for shared trees. One tree
per thread or you manage your own locking.


Don't you mean "one THREAD per TREE" - I would think that one thread could
have multiple trees without problem, it would be multiple threads frobbing
the same tree that would be bad.

  Dohh, yes of course :-)


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]