Closed crodjer closed 4 years ago
By introducing a little sleep, it makes it possible to actually interrupt the examples when running:
cargo run --bin signals-{ctrlc,hooked}
Merged with added comments and fixed includes.
By introducing a little sleep, it makes it possible to actually interrupt the examples when running: