trw.utils.graceful_killer

Module Contents

Classes

GracefulKiller

Coordinate the shutdown of the different processes making sure ALL

Attributes

psutil

trw.utils.graceful_killer.psutil
class trw.utils.graceful_killer.GracefulKiller(timeout=5.0)

Coordinate the shutdown of the different processes making sure ALL child processes are stopped or terminated.

abort_event
exit_gracefully(self, signum, frame)