原书出处
Go语言精进之路 _ 从新手到高手的编程思想,方法和技巧 = Go programming from beginners
ngers; i++ { c <- struct{}{} } close(c)
total = max(<-c1, <-c2, <-c3) println("total time cost:", total) } 为了模拟并行方案,我们对程序作了改动:创建三个goroutine,分别代表三个安检通道
,但每个安检通道运行的程序依然是上一版程序中的airportSecurityCh
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Go语言精进之路 _ 从新手到高手的编程思想,方法和技巧 = Go programming from beginners/_epub-src/Text/Chapter31_0002.xhtml
EPUB SHA-256:ed420a18343af13da5588084e52b5c80baf71e64b3a9b7abcfbaa002f7e4d02f