Commit 93870cf0 authored by Pietro Saccardi's avatar Pietro Saccardi

Added helper method wait_stop.

parent 5d9a9b67
......@@ -26,6 +26,9 @@ class ThreadHost:
logging.getLogger(self._thread_name).info('The thread %s finally joined.', self._thread_name)
def wait_stop(self, timeout=None):
return self._thread_stop.wait(timeout=timeout)
def wake(self):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment