]> Cypherpunks repositories - gostls13.git/commit
runtime: replace the type of netpollWakeSig from a uintptr to a uint32
authorAndy Pan <panjf2000@gmail.com>
Fri, 10 Apr 2020 02:45:58 +0000 (10:45 +0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 10 Apr 2020 03:29:25 +0000 (03:29 +0000)
commit245409ea86f20fd9f4167223c2339fb238f9e4b6
tree6b4f600a7131c14eb3e0611177d020e69346fc54
parent7b90c1c0c42099248fbb849e8a1c3251984688ac
runtime: replace the type of netpollWakeSig from a uintptr to a uint32

There's no need for netpollWakeSig to use a uintptr type, a uint32 is enough.

Relevant CL: CL 212737

Change-Id: Ide24478b217a02bad62f7e000a9680c26a8c5366
Reviewed-on: https://go-review.googlesource.com/c/go/+/227798
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/netpoll_aix.go
src/runtime/netpoll_epoll.go
src/runtime/netpoll_kqueue.go
src/runtime/netpoll_solaris.go
src/runtime/netpoll_windows.go