Function chan_signal::block [] [src]

pub fn block(signals: &[Signal])

Block all given signals without receiving notifications.

If a signal has also been passed to notify/notify_on this function does not have any effect in terms of that signal.

THIS MUST BE CALLED BEFORE ANY OTHER THREADS ARE SPAWNED IN YOUR PROCESS.