Unix Signals in Rust

Was there a consensus on the possibility of combining the code outlined in Unix Signals in Rust - #3 by caleb with some sort of safe flag that can be set in the interrupt handler, and read from somewhere else to eg. break out of a loop or exit a thread?