Self inflicted wounds using cx_freeze
[progcomp2013.git] / qchess / thread_util.py
diff --git a/qchess/thread_util.py b/qchess/thread_util.py
deleted file mode 100644 (file)
index 2c79330..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-import threading
-
-# A thread that can be stopped!
-# Except it can only be stopped if it checks self.stopped() periodically
-# So it can sort of be stopped
-class StoppableThread(threading.Thread):
-       def __init__(self):
-               threading.Thread.__init__(self)
-               self._stop = threading.Event()
-
-       def stop(self):
-               self._stop.set()
-
-       def stopped(self):
-               return self._stop.isSet()

UCC git Repository :: git.ucc.asn.au