Mateusz Loskot wrote:
> Hi,
> 
> As we talked yesterday, I applied small changes
> with reference counter to make
> initGEOS/finishGEOS more safe.

I've forgot about one more *important* thing.
The reference counting is not thread-safe, also, the static
variable - GEOSInitCounter - in geos_c.cpp unit
scope MUST NOT be change outside initGEOS or finishGEOS functions.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net
_______________________________________________
geos-devel mailing list
geos-devel@geos.refractions.net
http://geos.refractions.net/mailman/listinfo/geos-devel

Reply via email to