aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2025-03-25 16:42:51 +0100
committerQuim Muntal <quimmuntal@gmail.com>2025-03-26 13:05:03 -0700
commit440a8f7024044387a6e440fc003bd8fd61908c81 (patch)
tree5011c85ff61b2b5952b34012e0db4e80ccc4e7c5 /src/cmd/internal/obj
parentb138f8e4d2912e1105b69b9aaa24c6e8250652c6 (diff)
downloadgo-440a8f7024044387a6e440fc003bd8fd61908c81.tar.xz
internal/poll: support async file operations on Windows
This CL adds support for async file operations on Windows. The affected functions are Read, Write, Pread, and Pwrite. The code has been slightly refactored to avoid duplication. Both the async and sync variants follow the same code path, with the exception of the async variant passes an overlapped structure to the syscalls and supports the use of a completion port. This doesn't change any user-facing behavior, as the os package still sets the pollable parameter to false when calling FD.Init. For #19098. Change-Id: Iead6e51fa8f57e83456eb5ccdce28c2ea3846cc2 Reviewed-on: https://go-review.googlesource.com/c/go/+/660595 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/cmd/internal/obj')
0 files changed, 0 insertions, 0 deletions