]> Cypherpunks repositories - gostls13.git/commit
runtime: avoid racing on pendingUpdates in AIX netpollBreak
authorIan Lance Taylor <iant@golang.org>
Sat, 28 Mar 2020 00:37:37 +0000 (17:37 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 28 Mar 2020 19:37:39 +0000 (19:37 +0000)
commit45f99d85e0d22a4414ebbdc41de843d88064f374
tree02f9abee8c09b156e47539c38c106562bee61539
parentd99fe1f40dfacfdebee22c13ed4471fd50f2cc1a
runtime: avoid racing on pendingUpdates in AIX netpollBreak

Instead of calling netpollwakeup, just do the write in netpollBreak.
Use the same signaling we now use in other netpollBreak instances.

Change-Id: I53a65c22862ecc8484aee91d0e1ffb21a9e62d8c
Reviewed-on: https://go-review.googlesource.com/c/go/+/226199
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/runtime/netpoll_aix.go