1
0
mirror of https://github.com/golang/go synced 2024-09-23 19:10:13 -06:00

fix bug - need to read final message in daisy chain to avoid hang

R=rsc
OCL=13840
CL=13840
This commit is contained in:
Rob Pike 2008-08-04 16:29:22 -07:00
parent 7a799be49a
commit f439299035

View File

@ -45,6 +45,7 @@ func SynchFifo() {
for i := 0; i < N; i++ {
ch -< i
}
<-in
}
func main() {