def _AbortTerminate(self):
    """Aborts all registered processes by sending a SIGTERM or equivalent."""
    for pid, process in iter(self._processes_per_pid.items()):
      if not process.is_alive():
        continue

      logger.warning('Terminating process: {0:s} (PID: {1:d}).'.format(
          process.name, pid))
      process.terminate()
def _AbortTerminate ( self ) : for pid , process in iter ( self . _processes_per_pid . items ( ) ) : if not process . is_alive ( ) : continue logger . warning ( 'Terminating process: {0:s} (PID: {1:d}).' . format ( process . name , pid ) ) process . terminate ( )
Aborts all registered processes by sending a SIGTERM or equivalent.