pub fn consume_next_signal() -> Option<Signal>
Consume the next pending signal.
Atomically removes the signal from the pending set and returns it.