@classmethod
def reset(cls):
    """Reset the signal logs and return last signal `(signum, frame, time)`.
        """
    res = None
    with cls._lock:
        if hasattr(cls, '_last_signal'):
            res = cls._last_signal
            del cls._last_signal
        cls._signals_raised = {}
    return res
