goroutine,label:"Goroutine-1" 6 go printCounts("Goroutine-1", count) // 激活另一个goroutine,label:"Goroutine -2" 7 go printCounts("Goroutine-2", count) 8 9 fmt.Println("Communication of channel begins"
/ 激活一个goroutine,label:"Goroutine-1" go printCounts("Goroutine-1", count) // 激活另一个goroutine,label:"Goroutine -2" go printCounts("Goroutine-2", count) fmt.Println("Communication of channel begins") // 向channel
存在一个业务包数据,1/3内容被goroutine-1读走,另外2/3被另外一个goroutine-2读 走的情况。