go/doc/next/6-stdlib/99-minor
qmuntal b9cbb65384 os,internal/poll: support I/O on overlapped handles not added to the poller
Calling syscall.ReadFile and syscall.WriteFile on overlapped handles
always need to be passed a valid *syscall.Overlapped structure, even if
the handle is not added to a IOCP (like the Go runtime poller). Else,
the syscall will fail with ERROR_INVALID_PARAMETER.

We also need to handle ERROR_IO_PENDING errors when the overlapped
handle is not added to the poller, in which case we need to block until
the operation completes.

Previous CLs already added support for overlapped handles to the poller,
mostly to keep track of the file offset independently of the file
pointer (which is not supported for overlapped handles).

Fixed #15388.
Updates #19098.

Change-Id: I2103ab892a37d0e326752ae8c2771a43c13ba42e
Reviewed-on: https://go-review.googlesource.com/c/go/+/661795
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
2025-03-31 12:01:49 -07:00
..
archive/tar io/fs: add ReadLinkFS interface 2025-02-03 08:38:43 -08:00
crypto crypto/tls: relax native FIPS 140-3 mode 2025-03-13 13:33:22 -07:00
debug/elf debug/elf: add riscv attributes definitions 2025-03-14 15:08:23 -07:00
go go/types: LookupSelection: returns LookupFieldOrMethod as a Selection 2025-03-27 12:29:28 -07:00
io/fs io/fs: add ReadLinkFS interface 2025-02-03 08:38:43 -08:00
mime/multipart mime/multipart: add helper to build content-disposition header contents 2025-03-12 16:20:01 -07:00
net net: accept a valid IP address in LookupMX 2025-02-24 15:01:37 -08:00
os os,internal/poll: support I/O on overlapped handles not added to the poller 2025-03-31 12:01:49 -07:00
testing/fstest io/fs: add ReadLinkFS interface 2025-02-03 08:38:43 -08:00
0-heading.md doc: initialize next directory for Go 1.25 2025-02-03 07:52:07 -08:00
README doc: initialize next directory for Go 1.25 2025-02-03 07:52:07 -08:00

README

API changes and other small changes to the standard library go here.