def stop(self):
        # http://stackoverflow.com/questions/323972/is-there-any-way-to-kill-a-thread-in-python
        self._stop_event.set()
        self.join()
Signal the thread to stop and block until it is finished.
dataset/ETHPy150Open gae-init/gae-init-debug/main/libx/gae_mini_profiler/sampling_profiler.py/InspectingThread.stop