miniworld.concurrency package¶
Submodules¶
miniworld.concurrency.ExceptionStopThread module¶
miniworld.concurrency.StopThread module¶
-
class
miniworld.concurrency.StopThread.StopThread(*args, **kwargs)[source]¶ Bases:
threading.ThreadExtends the Thread with an Event and the terminate method like the multiprocessing api offers it.
Calling it will trigger the Event. Just implement your cleanup code for this event.