InterruptableThread#
- class wattson.util.threading.interruptable_thread.InterruptableThread(group=None, target=None, name=None, args=(), kwargs=None, *, daemon=None)#
Bases:
ThreadMethods
get_idglobaltraceinterruptkilllocaltraceStart the thread's activity.
- start()#
Start the thread’s activity.
It must be called at most once per thread object. It arranges for the object’s run() method to be invoked in a separate thread of control.
This method will raise a RuntimeError if called more than once on the same thread object.