[xml] XPath supposed to be thread safe with global, read-only contexts?
- From: Stephan A Suerken <absurd schlund de>
- To: xml gnome org
- Cc:
- Subject: [xml] XPath supposed to be thread safe with global, read-only contexts?
- Date: 18 Dec 2003 18:04:40 +0100
Hi,
we have problems evaluating XPath expressions in a multi-threaded
environment - i.e.:
We have a (multi-thread-environment-)global read only document
(xmlDoc) and associated global context (xmlXPathContext). Calling
xmlXPathEvalExpression() with that context ist _not_ thread safe (I
have so far boiled it down to the internal xmlXPathEvalExpr).
I know thread-safety isn't guaranteed for globals, but I always
thought that would hold true for write access only.
So is this a bug, or do we really have to protect all our xpath calls?
Thanks,
Stephan
--
Stephan A Suerken
<ssuerken|stephan.suerken|suerken|absurd schlund de>
Schlund + Partner AG, Karlsruhe
Internal: http://manwe.use.schlund.de/~absurd/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]