diff options
author | Rob Pike <r@golang.org> | 2008-08-04 16:29:22 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2008-08-04 16:29:22 -0700 |
commit | c81f70c85a12cb695ac5e7ef2aa67c5b9d62601c (patch) | |
tree | cccf898c10a75ce21658d129f0fa4e557740f9f3 /test/chan | |
parent | d30245c9da8d5cb62983c3bdf4d86a151a2e87de (diff) | |
download | go-c81f70c85a12cb695ac5e7ef2aa67c5b9d62601c.tar.gz |
fix bug - need to read final message in daisy chain to avoid hang
R=rsc
OCL=13840
CL=13840
Diffstat (limited to 'test/chan')
-rw-r--r-- | test/chan/fifo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/chan/fifo.go b/test/chan/fifo.go index 6112b3cd6..d6d6d704a 100644 --- a/test/chan/fifo.go +++ b/test/chan/fifo.go @@ -45,6 +45,7 @@ func SynchFifo() { for i := 0; i < N; i++ { ch -< i } + <-in } func main() { |