September 2017
Intermediate to advanced
466 pages
9h 33m
English
In the previous chapter, you learned about Unix signal handling as well as adding support for pipes and creating graphical images in Go.
The subject of this really important chapter is goroutines. Go uses goroutines and channels in order to program concurrent applications in its own way while providing support for traditional concurrency techniques. Everything in Go is executed using goroutines; when a program starts its execution, its single goroutine automatically calls the main() function in order to begin the actual execution of the program.
In this chapter, we will present the easy parts of goroutines using easy to follow code examples. However, in Chapter 10, Goroutines - Advanced Features, that is coming ...
Read now
Unlock full access