static void handleInterrupt(int sig) { printf("Interrupt requested\n"); fflush(stdout); #if POSTGIS_GEOS_VERSION >= 34 GEOS_interruptRequest(); #endif /* TODO: request interruption of liblwgeom as well ? */ if ( coreIntHandler ) { (*coreIntHandler)(sig); } }
static void interruptNow() { GEOS_interruptRequest(); }