]> Cypherpunks repositories - gostls13.git/commit
internal/poll: consolidate cancelIO logic into waitIO
authorqmuntal <quimmuntal@gmail.com>
Fri, 30 Jan 2026 12:29:10 +0000 (13:29 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Mon, 2 Feb 2026 18:51:25 +0000 (10:51 -0800)
commit3b2a451cef467e42e41552cf490498d3bf39df29
tree3e42e45cb98617476dad22420db492f5879c1d8f
parent6de7a19fea07bf8a9a54b7d9d3dc839fe2ea9d33
internal/poll: consolidate cancelIO logic into waitIO

This is a step towards deferring adding the handle to IOCP until the
first IO operation.

The main goal of this CL is to remove the fd.pollable() check in
cancelIO.

For #76391

Cq-Include-Trybots: luci.golang.try:gotip-windows-amd64-longtest,gotip-windows-amd64-race
Change-Id: I76263ce12980297d88a5f6c514e4074dfee428cb
Reviewed-on: https://go-review.googlesource.com/c/go/+/740540
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
src/internal/poll/fd_windows.go