[geos-devel] Geos - multithreading and error handling
Charlie Savage
cfis at savagexi.com
Sun Jun 25 19:43:46 EDT 2006
Is geos safe for multi-threading?
What is the approach when using the C-API for error handling? I see
that you can install an error handler and a notice handler. However,
those functions are global. So in a multi-threaded app its easy to see
how different threads could trigger these functions in an unexpected
order causing the wrong error message to be returned to each thread.
How have people dealt with this? Using thread-local storage? Or
serializing there calls into GEOS? Or some other mechanism?
Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.osgeo.org/pipermail/geos-devel/attachments/20060625/477bd90d/smime.bin
More information about the geos-devel
mailing list