[][src]Function signal_hook::flag::register

pub fn register(signal: c_int, flag: Arc<AtomicBool>) -> Result<SigId, Error>

Registers an action to set the flag to true whenever the given signal arrives.