]> Cypherpunks repositories - gostls13.git/commit
Revert "runtime: speed up receive on empty closed channel"
authorAlexander Rakoczy <alex@golang.org>
Thu, 23 Jan 2020 22:56:39 +0000 (22:56 +0000)
committerAlexander Rakoczy <alex@golang.org>
Fri, 24 Jan 2020 19:19:16 +0000 (19:19 +0000)
commite35876ec6591768edace6c6f3b12646899fd1b11
tree2fad1820c088bfd6b229e2639a5c2f507e3c69ec
parent1f9f88b95eaec50c72c8595ca9f52b7b876e28f9
Revert "runtime: speed up receive on empty closed channel"

This reverts CL 181543 (git e1446d9cee91af263af15efe8291644b590bb9ff)

Reason for revert: Caused a regression in the race detector.

Updates #32529
Fixes #36714

Change-Id: Ifefe6784f86ea72f414a89f131c239e9c9fd74eb
Reviewed-on: https://go-review.googlesource.com/c/go/+/216158
Run-TryBot: Alexander Rakoczy <alex@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/chan.go
src/runtime/chan_test.go