[geos-devel] GEOS 2.2.2 C API + Reference counter
Mateusz Loskot
mateusz at loskot.net
Sat Jul 1 07:27:57 EDT 2006
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
More information about the geos-devel
mailing list