]> Cypherpunks repositories - gostls13.git/commitdiff
net: remove old comment
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 14 Apr 2015 00:19:09 +0000 (17:19 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 14 Apr 2015 04:38:20 +0000 (04:38 +0000)
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>
src/net/net.go

index 3b06e6b4898d068b8e7ea863a0f989f839b2042d..439d21cfc1abc2913097de94a8eb8b060ac556b7 100644 (file)
@@ -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{}{}
 }