PausableThread¶
-
class
support.threading_util.PausableThread(name=None, **kwargs)¶ Bases:
threading.Thread- A pausable stoppable thread.
It also has a running flag that can be used to determine if the process is still running.
-
name¶
-
logger¶
-
_lock¶
-
_pause¶
-
_stop¶
-
_running¶
Methods Summary
pause()paused()running()stop()Stop the thread from running all together.
stopped()unpause()Methods Documentation
-
pause()¶
-
paused()¶
-
running()¶
-
stop()¶ Stop the thread from running all together. Make sure to join this up with threading.Thread.join()
-
stopped()¶
-
unpause()¶