(self, signalnum, stackframe)
signal handler
signal handler
signal handler
def signal_handler(self, signalnum, stackframe):
        """ signal handler """
        for pid in self.children_pids:
            os.kill(pid, signal.SIGINT)  # kill children processes
        (rank, original_trace) = self.error_queue.get()
        msg = """\n\n-- Tracebacks above this line can probably
                 be ignored --\n\n"""
        msg += original_trace
        raise Exception(msg)
def signal_handler ( self , signalnum , stackframe ) : for pid in self . children_pids : os . kill ( pid , signal . SIGINT ) # kill children processes ( rank , original_trace ) = self . error_queue . get ( ) msg = """\n\n-- Tracebacks above this line can probably
                 be ignored --\n\n""" msg += original_trace raise Exception ( msg )