more for #4
This commit is contained in:
parent
d09734610c
commit
3a691aa7ac
@ -1,6 +1,6 @@
|
|||||||
# When we run this program it will block waiting for a
|
# When we run this program it will block waiting for a
|
||||||
# signal. By typing `ctrl-C` (which the
|
# signal. By typing `ctrl-C` (which the
|
||||||
# terminal shows as `^C`) we cand send a `SIGINT` signal,
|
# terminal shows as `^C`) we can send a `SIGINT` signal,
|
||||||
# causing the program to print `interrupt` and then exit.
|
# causing the program to print `interrupt` and then exit.
|
||||||
$ go run signals.go
|
$ go run signals.go
|
||||||
awaiting signal
|
awaiting signal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user