Re: remote-xpath-queries
Kimbro Staken <[email protected]> Sun, 9 Nov 2003 23:32:04 -0700
| Newsgroups | gmane.comp.web.syncato.general |
|---|---|
| Message-ID | <[email protected]> |
Unfortunately as far as I know libxslt is not thread safe. This is an unfortunate tradeoff as it was the GIL that made me OK with using libxslt in a multi-threaded environment in the first place. Hopefully this will be fixed in a future libxslt release. Once upon a time libxml wasn't thread safe either. On Nov 9, 2003, at 2:00 PM, [email protected] wrote: > On Sat, Nov 08, 2003 at 04:02:58PM -0700, Kimbro Staken wrote: >> Disabling recursive execution of the remote-xpath-query tag is one >> obvious way to address this particular problem. Unfortunately the real >> problem is actually the GIL and the fact that libxslt is a C library. > > What about releasing the GIL before making a blocking network call? > Its should be trivial to add that to the libxslt python bindings. > Because libxslt doesn't call back into python (not from the same > thread anyhow), doing so is safe. > > bye > > -- > Ingo > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Syncato-general mailing list > Syncato-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/syncato-general > > Kimbro Staken Software, Consulting and Writing http://www.xmldatabases.org/ Apache Xindice native XML database http://xml.apache.org/xindice XML:DB Initiative http://www.xmldb.org ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/