]> Cypherpunks repositories - gostls13.git/commit
compress/lzw: do not use background goroutines
authorRuss Cox <rsc@golang.org>
Tue, 7 Jun 2011 18:37:06 +0000 (14:37 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 7 Jun 2011 18:37:06 +0000 (14:37 -0400)
commit63dae3c3becfabce9454e062297f8b4a22fc69a9
tree88aa79a86f291e7ef0d9416b2b119b296688dc84
parent8cd7aac2234f648818fc6c01bb52386a537e7029
compress/lzw: do not use background goroutines

Programs expect that Read and Write are synchronous.
The background goroutines make the implementation
a little easier, but they introduce asynchrony that
trips up calling code.  Remove them.

R=golang-dev, nigeltao
CC=golang-dev
https://golang.org/cl/4548080
src/pkg/compress/lzw/reader.go
src/pkg/compress/lzw/writer_test.go