[xslt] Re: xslt digest, Vol 1 #70 - 1 msg



> At the moment, I'm using libxml2/libxslt (always the latest 'stable'
> release, not CVS) in a multi-threaded production environment (using an
> inhouse developer threads-library, not pthreads or the like) without much
> problems.
> 
> Most global variables are set once (as far as I can tell), usually at
> initialization, so you can either initialize while not yet multi-threaded,
> or initialize (once) from a mutex-protected piece of code (which is what I
> do).
 
okay, well if that's what they're used for [once-only info] then
yes of course i'm happy.


> Memory-allocation and file-I/O can be hooked using callbacks. Check out
> xmlMemSetup(), xmlRegister{In,Out}putCallbacks(), xmlSetGenericErrorFunc(),
> xsltSetGenericErrorFunc(), ...

i use the callbacks to do a connection to a socket, reading an XML
document over a network or a unix domain sock [but this is off-xslt
topic, i'll shut up now :)]

luke




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