gobyexample/examples/synchronization/synchronization.sh
2012-10-09 21:02:12 -07:00

7 lines
173 B
Bash

$ go run synchronization.go
Working... done
# If you commented out the `<- done` line, the
# program would exit before the `worker` even
# started.