@classmethod
def set_signals(cls, signals):
    """Change the signal handlers.
        
        Note: This does not change the signals listed in _suspended_signals list.

        Arguments
        ---------
        signals : set()
           Set of signal numbers.
        """
    signals = set(signals)
    with cls._lock:
        if cls.is_registered() and signals != cls._signals:
            cls.unregister()
            cls._signals = set(signals)
            cls.register()
