logo       

Re: Geos - multithreading and error handling: msg#00091

gis.geos.devel

Subject: Re: Geos - multithreading and error handling

On Sun, Jun 25, 2006 at 05:43:46PM -0600, Charlie Savage wrote:
> 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.

I've no experience with threaded runs, anyway I don't get the unexpected
order problem.. errors should be raised in the order they occur.

--strk;


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise