Is there any point in using threading. Event purely as a flag, without using wait()? I got about this code if obj.stop_event.is_set(): return In the main thread
if obj.stop_event.is_set(): return