diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2015-04-13 17:19:09 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2015-04-14 04:38:20 +0000 |
| commit | 47f095501eb331a4cd2b6b80345317be099331bf (patch) | |
| tree | 8ae82c0f880110e7123db2f68c699c308ca657e8 | |
| parent | ce43e1fec875ed92bf3d4ee7b7f81aed30a617f7 (diff) | |
| download | go-47f095501eb331a4cd2b6b80345317be099331bf.tar.xz | |
net: remove old comment
The memory model has been clarified since. This is legal and doesn't
need justification.
Change-Id: I60f9938503f86f52bb568ca1a99ac721ee72cee5
Reviewed-on: https://go-review.googlesource.com/8913
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
| -rw-r--r-- | src/net/net.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/net/net.go b/src/net/net.go index 3b06e6b489..439d21cfc1 100644 --- a/src/net/net.go +++ b/src/net/net.go @@ -419,10 +419,6 @@ func genericReadFrom(w io.Writer, r io.Reader) (n int64, err error) { var threadLimit = make(chan struct{}, 500) -// Using send for acquire is fine here because we are not using this -// to protect any memory. All we care about is the number of goroutines -// making calls at a time. - func acquireThread() { threadLimit <- struct{}{} } |
