pub fn add_signals(&mut self, signals: &[Signal]) -> io::Result<()> {
        for &s in signals {
            self.mask.add(s);
        }
        self.mask.thread_block()?;
        self.sfd.file.set_mask(&self.mask)?;
        Ok(())
    }
/// Add a list of signals to the signals source
///
/// If this function returns an error, the signal mask of the thread may
/// have still been changed.
Add a list of signals to the signals source
If this function returns an error, the signal mask of the thread may
have still been changed.
Add a list of signals to the signals source If this function returns an error the signal mask of the thread may have still been changed .
pub fn add_signals(&mut self, signals: &[Signal]) -> io::Result<()> {
        for &s in signals {
            self.mask.add(s);
        }
        self.mask.thread_block()?;
        self.sfd.file.set_mask(&self.mask)?;
        Ok(())
    }
pub fn add_signals ( & mut self , signals : & [ Signal ] ) -> io :: Result < ( ) > { for & s in signals { self . mask . add ( s ) ; } self . mask . thread_block ( ) ? ; self . sfd . file . set_mask ( & self . mask ) ? ; Ok ( ( ) ) }
Add a list of signals to the signals source
If this function returns an error, the signal mask of the thread may
have still been changed.
Add a list of signals to the signals source If this function returns an error the signal mask of the thread may have still been changed .
&mut self
signals
&[Signal]
&mut self
signals
&[Signal]