[geos-devel] Multithreading and interruption

Regina Obe lr at pcorp.us
Sun Dec 22 17:03:13 PST 2019


I suspect so as I recall I think that was introduced for PostGIS to have interruptable GEOS functions and it uses it single-threadedly.

Sandro is that right or did you envision some other use?

Thanks,
Regina

-----Original Message-----
From: geos-devel [mailto:geos-devel-bounces at lists.osgeo.org] On Behalf Of Nyall Dawson
Sent: Sunday, December 22, 2019 7:13 PM
To: GEOS Development List <geos-devel at lists.osgeo.org>
Subject: [geos-devel] Multithreading and interruption

Hi list,

Am I correct in concluding that GEOS_interruptRequest is only usable in a single-threaded context? The method doesn't utilise a GEOSContextHandle_t, and I can't see how GEOS would know which operation to cancel if multiple operations are in place on different threads...

Nyall
_______________________________________________
geos-devel mailing list
geos-devel at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/geos-devel



More information about the geos-devel mailing list