Re: [xml] thread safe?



I use libxml all the time in a threaded program, but, I never make concurrent
calls.  (The actual code that calls libxml is a single thread of execution).

I have absolutely no problems with it.


-Dave

On Tue, Jun 26, 2001 at 08:33:49AM -0400, Fred_Smith computrition com wrote:
Oh my. Here I've been operating under the belief that libxml is thread-safe
(I wonder where I got that idea).  Can someone point to ways in which it is
not safe, for my enlightenment? Is the nature of the unsafe-ness such that
I can handle it by using a mutex to prevent more than one thread at a time
from entering any of my code (two sections of code) that use libxml or is
it of a more serious nature?

I've gone so far as to be nearly ready to deliver product that uses it in a
multithreaded way, so this revelation has my heart up in my throat.

Details will be appreciated.

Fred




Gary Pennington <Gary Pennington uk sun com> on 06/25/2001 04:47:52 AM

To:   Steven James Pulito <spulito givingcapital com>
cc:   xml gnome org, xslt gnome org (bcc: Fred Smith/Computrition)
Subject:  Re: [xml] thread safe?




Neither is thread-safe.
Gary
Steven James Pulito wrote:
What is the status of limxml and libxslt as far as thread safety??

Thanks,
Steve

_______________________________________________
xml mailing list
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml
--
Gary Pennington
Solaris Kernel Development,
Sun Microsystems
Gary Pennington sun com



_______________________________________________
xml mailing list
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml





_______________________________________________
xml mailing list
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml





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