17#include <geos/export.h>
27 typedef void (Callback)(void);
63 static void interrupt();
67class GEOS_DLL CurrentThreadInterrupt {
69 typedef int (ThreadCallback)(
void*);
77 static ThreadCallback* registerCallback(ThreadCallback* cb,
void* data);
79 static void process();
81 static void interrupt();
Used to manage interruption requests and callbacks.
Definition Interrupt.h:23
static Callback * registerCallback(Callback *cb)
Register a callback that will be invoked by all threads before checking for interruption requests.
Basic namespace for all GEOS functionalities.
Definition geos.h:38