def send_signal(signum): """Send the given signal""" os.kill(os.getpid(), signum)
def _call_signals(self) -> None: """Finally call the deferred signals.""" for signum in self.received_signals: logger.debug("Calling signal %s", signum) os.kill(os.getpid(), signum)
def _call_signals(self): """Finally call the deferred signals.""" for signum in self.received_signals: logger.debug("Calling signal %s", signum) os.kill(os.getpid(), signum)
def send_signal(signum): """Send the given signal""" os.kill(os.getpid(), signum)