Commit f4392990 authored by Rob Pike's avatar Rob Pike

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

R=rsc
OCL=13840
CL=13840
parent 7a799be4
...@@ -45,6 +45,7 @@ func SynchFifo() { ...@@ -45,6 +45,7 @@ func SynchFifo() {
for i := 0; i < N; i++ { for i := 0; i < N; i++ {
ch -< i ch -< i
} }
<-in
} }
func main() { func main() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment