PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ handleInterrupt()

static void handleInterrupt ( int  sig)
static

Definition at line 119 of file postgis_module.c.

120 {
121  /* NOTE: printf here would be dangerous, see
122  * https://trac.osgeo.org/postgis/ticket/3644
123  *
124  * TODO: block interrupts during execution, to fix the problem
125  */
126  /* printf("Interrupt requested\n"); fflush(stdout); */
127 
128  GEOS_interruptRequest();
129 
130 #ifdef HAVE_LIBPROTOBUF
131  /* Taking out per #5385 crash */
132  //lwgeom_wagyu_interruptRequest();
133 #endif
134 
135  /* request interruption of liblwgeom as well */
137 
138  if ( coreIntHandler ) {
139  (*coreIntHandler)(sig);
140  }
141 }
void lwgeom_request_interrupt(void)
Request interruption of any running code.
Definition: lwgeom_api.c:663
static pqsigfunc coreIntHandler

References coreIntHandler, and lwgeom_request_interrupt().

Referenced by _PG_init().

Here is the call graph for this function:
Here is the caller graph for this function: