mirror of
https://github.com/golang/go
synced 2024-11-25 07:47:56 -07: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:
parent
7a799be49a
commit
f439299035
@ -45,6 +45,7 @@ func SynchFifo() {
|
||||
for i := 0; i < N; i++ {
|
||||
ch -< i
|
||||
}
|
||||
<-in
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
Loading…
Reference in New Issue
Block a user