https://talks.golang.org/2012/concurrency.slide
https://talks.golang.org/2013/advconc.slide
Check my reorganised code at Github https://github.com/Sylvia-YiyinShen/GolangConcurrency
- Channels allows two goroutines to communicate
- Select provides a switch-like way to handle multiple channels instead of multiple goroutines
- time.After to block
- Quit via Select
No comments:
Post a Comment