Understanding goroutines
There are a few things to keep in mind about Go’s goroutines: They are not threads in the sense of Java’s or C++ threads goroutines are more like greenlets The go runtime multiplexes the goroutines across the system threads the number of system threads is controlled by an environment variable GOMAXPROCS and defaults to 1 … Read more