]> Cypherpunks repositories - gostls13.git/commit
runtime: always use GetQueuedCompletionStatusEx on Windows
authorIan Lance Taylor <iant@golang.org>
Tue, 24 Mar 2020 03:42:29 +0000 (20:42 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 24 Mar 2020 19:57:49 +0000 (19:57 +0000)
commite3cf0525b0ecfaeb9381108e8c7181cdc2abee57
tree257db1f9140bfb4fb4843b29867a43c93537d399
parent355f53f0a0a5d79032068d4914d7aea3435084ec
runtime: always use GetQueuedCompletionStatusEx on Windows

We used to fall back to GetQueuedCompletionStatus if
GetQueuedCompletionStatus was not available, but as of Go 1.11 we
require Windows 7 or later, so GetQueuedCompletionStatusEx is always
available.

Fixes #37957

Change-Id: I7d8d49a92ab7b1f5afdc54a442f696aaf4a5168e
Reviewed-on: https://go-review.googlesource.com/c/go/+/225059
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/runtime/netpoll_windows.go
src/runtime/os_windows.go