I\'ve created a Python class which inherits from threading.Thread
, instances of which may not actually be run as a new thread (because the start()
meth
In my view a slightly cleaner design would be to not inherit your class from threading.Thread
, but keep its run
method as-is.
Now:
Thread
object, setting the target=
constructor argument to your object's run
method.