def stop_loop(cls,threadname):
        """Stops a looping function that was started with ThM.run(...)"""
        for i,thlis in enumerate(cls.running_threads):
            if thlis[1] == threadname:
                cls.running_threads[i][2] = False
                break
Stops a looping function that was started with ThM.run(...)
recipes/Python/578385_Simple_python_thread_manager/recipe-578385.py