gobyexample/src/036-synchronization/synchronization.sh
Mark McGranaghan 25dc8ca800 full book wip
2012-10-02 18:29:58 -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.