[geos-commits] r3645 - trunk/include/geos/util

svn_geos at osgeo.org svn_geos at osgeo.org
Fri May 25 08:26:56 EDT 2012


Author: strk
Date: 2012-05-25 05:26:55 -0700 (Fri, 25 May 2012)
New Revision: 3645

Modified:
   trunk/include/geos/util/Interrupt.h
Log:
Add method to cancel an interruption request in util::Interrupt

Modified: trunk/include/geos/util/Interrupt.h
===================================================================
--- trunk/include/geos/util/Interrupt.h	2012-05-25 12:15:12 UTC (rev 3644)
+++ trunk/include/geos/util/Interrupt.h	2012-05-25 12:26:55 UTC (rev 3645)
@@ -28,6 +28,8 @@
 
   static void request() { requested = true; }
 
+  static void cancel() { requested = false; }
+
   static bool check() { return requested; }
 
   static void process() {



More information about the geos-commits mailing list