PostGIS  2.1.10dev-r@@SVN_REVISION@@
static void handleInterrupt ( int  sig)
static

Definition at line 115 of file postgis_module.c.

References coreIntHandler.

Referenced by _PG_init().

116 {
117  /* NOTE: printf here would be dangerous, see
118  * https://trac.osgeo.org/postgis/ticket/3644
119  *
120  * TODO: block interrupts during execution, to fix the problem
121  */
122  /* printf("Interrupt requested\n"); fflush(stdout); */
123 
124 #if POSTGIS_GEOS_VERSION >= 34
125  GEOS_interruptRequest();
126 #endif
127 
128  /* TODO: request interruption of liblwgeom as well ? */
129 
130  if ( coreIntHandler ) {
131  (*coreIntHandler)(sig);
132  }
133 }
static pqsigfunc coreIntHandler

Here is the caller graph for this function: