Commit 47f09550 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick

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/8913Reviewed-by: 's avatarMikio Hara <mikioh.mikioh@gmail.com>
parent ce43e1fe
......@@ -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{}{}
}
......
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