threading.Thread class that exposes a stop API. Subclasses of this must check for .stop_requested regularly.
Bases: threading.Thread
Thread class that adds a stop() method. Subclasses must check for the .stop_requested event regularly.
Init.
Sets the stop_requested flag.