]> Cypherpunks repositories - gostls13.git/commit
internal/poll: assume we have CancelIoEX on Windows
authorIan Lance Taylor <iant@golang.org>
Tue, 24 Mar 2020 04:11:01 +0000 (21:11 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 24 Mar 2020 20:19:40 +0000 (20:19 +0000)
commit191118a8213d486389763afe31be0d2dd3f9ed6a
tree4e15becfb6d7a8f5d8ca82b880083839b65aeec2
parent825ae71e567593d3a28b7dddede8745701273c52
internal/poll: assume we have CancelIoEX on Windows

As of the Go 1.11 release we require at least Windows 7, so CancelIoEx
is always available.  This lets us simplify the code to not require
dedicated threads to handle I/O requests.

Fixes #37956

Change-Id: If1dc4ac4acb61c43e4f2a9f26f225869050262a5
Reviewed-on: https://go-review.googlesource.com/c/go/+/225060
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/internal/poll/fd_windows.go
src/internal/poll/sendfile_windows.go