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.

Daniel


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

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/



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