]> Cypherpunks repositories - gostls13.git/commit
os,internal/poll: support I/O on overlapped files not added to the poller
authorqmuntal <quimmuntal@gmail.com>
Thu, 10 Apr 2025 14:03:46 +0000 (16:03 +0200)
committerGopher Robot <gobot@golang.org>
Mon, 14 Apr 2025 12:40:53 +0000 (05:40 -0700)
commitf414dfe4f5049c2c8998b4e6b90dee7fca0c225b
tree53107a6dc07e3d1321d2bc65e74a5f43c801f74d
parent13b7c7d8d21765886697c952ffbb7fb853a2bf9a
os,internal/poll: support I/O on overlapped files not added to the poller

This fixes the support for I/O on overlapped files that are not added to
the poller. Note that CL 661795 already added support for that, but it
really only worked for pipes, not for plain files.

Additionally, this CL also makes this kind of I/O operations to not
notify the external poller to avoid confusing it.

Updates #15388.

Change-Id: I15c6ea74f3a87960aef0986598077b6eab9b9c99
Reviewed-on: https://go-review.googlesource.com/c/go/+/664415
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
src/internal/poll/fd_windows.go
src/os/os_windows_test.go