[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] document() and import() handlers
- From: Daniel Veillard <veillard redhat com>
- To: robert <robert xml 00008 org>
- Cc: "xml gnome org" <xml gnome org>
- Subject: Re: [xml] document() and import() handlers
- Date: Mon, 12 Mar 2001 07:05:24 -0500
On Mon, Mar 12, 2001 at 12:58:56PM +0100, robert wrote:
> >libxml is thread agnostic, all what is garanteed is that once the library
> >is initialized, multiple threads can access the library...
>
> As far as I could tell, 'initializing' means some global variables (which
> all are integer-types?) are set to sane default values.
yes, but for example initializing the predefined entities table
is not just setting integer values.
> Am I right? If not, I might have to check up on it with some more detail
> because it's not possible in my project to make a call to xmlInitParser()
> before I go multi-threaded.
hum, annoying, there is a (small) probability of problems.
> Also, I haven't used xmlInitParser() yet because libxslt doesn't either.
the parser calls it automatically if not done, but for multithreaded
work then it should be done first to be safe.
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
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]