hbp_nrp_commons.killable_threads module

This module contains a killable Python thread implementation taken from http://tomerfiliba.com/recipes/Thread2/

class Thread(*args, **kwargs)[source]

Bases: threading.Thread

This class represents a thread that can be terminated


raises the given exception type in the context of this thread


raises SystemExit in the context of the given thread, which should cause the thread to exit silently (unless caught)