[geos-devel] thread safety?

Ferdinando Villa ferdinando.villa at uvm.edu
Tue Apr 19 10:25:28 EDT 2005

I can't vow for the thread safety of GEOS in general, but I'm using it
in quite a few asynchronous functions within a threadpool server which
gets a lot of daily use, and never had a problem. Of course its current
design requires attention, and you must be careful where do you put all
these pointers, but that's not just for thread safety :)


On Tue, 2005-04-19 at 10:16, Sean Gillies wrote:
> On Apr 19, 2005, at 8:03 AM, strk at refractions.net wrote:
> > On Tue, Apr 19, 2005 at 07:40:59AM -0600, Sean Gillies wrote:
> >> Is GEOS thread safe?
> >
> > Good question. Can it be tested ?
> > --strk;
> >
> Ah, thrown back at me :)  I just want to know if thread safety was a 
> design goal and if the goal has been achieved.  Looking back in the 
> archives I found a thread where Martin had stated that GEOS should aim 
> to be safe, and another where Dave Blasby asked the same question with 
> no answer.
> It's not so much a concern for PostgreSQL, but for other uses.  I'd 
> like to avoid synchronizing use of GEOS if I didn't need to do so.
> cheers,
> Sean
> --
> Sean Gillies
> sgillies at frii dot com
> http://users.frii.com/sgillies
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel
Ferdinando Villa, Ph.D., Associate Research Professor, Ecoinformatics
Gund Institute for Ecological Economics and Dept of Botany, Univ. of Vermont

More information about the geos-devel mailing list