This reverts CL 225618.
This is causing TestNetpollBreak to fail on AIX more often than not.
Change-Id: Ia3c24041ead4b320202f7f5b17a6b286f639a689
Reviewed-on: https://go-review.googlesource.com/c/go/+/226198
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
// netpollBreak interrupts a poll.
func netpollBreak() {
- lock(&mtxpoll)
netpollwakeup()
- unlock(&mtxpoll)
}
// netpoll checks for ready network connections.