Function signal_hook::flag::register_usize
source · pub fn register_usize(
signal: c_int,
flag: Arc<AtomicUsize>,
value: usize
) -> Result<SigId, Error>
Expand description
Registers an action to set the flag to the given value whenever the signal arrives.