PostGIS  3.1.6dev-r@@SVN_REVISION@@

◆ handleInterrupt()

static void handleInterrupt ( int  sig)
static

Definition at line 88 of file postgis_module.c.

89 {
90  /* NOTE: printf here would be dangerous, see
91  * https://trac.osgeo.org/postgis/ticket/3644
92  *
93  * TODO: block interrupts during execution, to fix the problem
94  */
95  /* printf("Interrupt requested\n"); fflush(stdout); */
96 
97  GEOS_interruptRequest();
98 
99 #ifdef HAVE_WAGYU
100 /* Taking out per #5385 crash */
101  //lwgeom_wagyu_interruptRequest();
102 #endif
103 
104  /* request interruption of liblwgeom as well */
106 
107  if ( coreIntHandler ) {
108  (*coreIntHandler)(sig);
109  }
110 }
void lwgeom_request_interrupt(void)
Request interruption of any running code.
Definition: lwgeom_api.c:664
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: