PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ handleInterrupt()

static void handleInterrupt ( int  sig)
static

Definition at line 89 of file postgis_module.c.

90{
91 /* NOTE: printf here would be dangerous, see
92 * https://trac.osgeo.org/postgis/ticket/3644
93 *
94 * TODO: block interrupts during execution, to fix the problem
95 */
96 /* printf("Interrupt requested\n"); fflush(stdout); */
97
98 GEOS_interruptRequest();
99
100#ifdef HAVE_WAGYU
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:670
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: