mirror of
https://github.com/golang/go.git
synced 2025-05-16 04:44:39 +00:00
Revert "runtime: lock mtxpoll in AIX netpollBreak"
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>
This commit is contained in:
parent
9131f08a23
commit
ef220dc53e
@ -130,9 +130,7 @@ func netpollarm(pd *pollDesc, mode int) {
|
||||
|
||||
// netpollBreak interrupts a poll.
|
||||
func netpollBreak() {
|
||||
lock(&mtxpoll)
|
||||
netpollwakeup()
|
||||
unlock(&mtxpoll)
|
||||
}
|
||||
|
||||
// netpoll checks for ready network connections.
|
||||
|
Loading…
x
Reference in New Issue
Block a user