RE: [xslt] Thread safety changes
- From: Jesse Pelton <jsp PKC com>
- To: "'xslt gnome org'" <xslt gnome org>
- Subject: RE: [xslt] Thread safety changes
- Date: Fri, 31 Jan 2003 13:02:43 -0500
Please indulge my ignorance; I know nothing about libxslt except that
libxmlsec uses it. It seems clear that I'll need to call xsltInit. Is "using
per-thread error handlers" simply a matter of using xsltSetGenericErrorFunc
to install a thread safe error handler? It looks to me like the transform
error handler is thread agnostic, and will be thread safe if the generic
error function is. I assume the stylesheet error handler would behave
similarly.
I gather the safety issue here is a result of possible contention for the
global file pointer. Is that correct? If so, xsltGenericDebugContext has the
same problem.
-----Original Message-----
From: Peter Jones [mailto:mlists@pmade.org]
Sent: Friday, January 31, 2003 12:15 PM
To: xslt@gnome.org
Subject: Re: [xslt] Thread safety changes
Hey, remember back when Jesse Pelton said:
> - Once Peter Jones' patch is applied, will libxslt be thread safe by
> default?
Yes and no. Once xsltInit is public, you can call that before any
threads use libxslt. After that, it should just be a matter of using
per-thread error handlers in the stylesheet and transform contexts.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]