4.20
The Go Programming Language Robert Griesemer, Rob Pike, and Ken Thompson
Chapter 8 Goroutines and Channels
Questions:
1. How to hang a Goroutine?
1). I can let the Goroutine wait for a channel for a value?
2).
2. How to stop a Goroutine?
1). When the main function exists, all Goroutines stop
1. 8.1. Goroutines
2. 8.4 Channels
3. 8.4.1. Unbuffered Channels
4. 8.4.2 Pipelines
5. 8.4.3. Unidirectional Channel Types
6. 8.4.4 Buffered Channels
7. 8.5。 Looping in Parallel