libuv/src/win
Jameson Nash e1d6e62a4b
win: track each write_req in a queue instead of just a count (#5059)
Replace `write_reqs_pending` (unsigned int counter) in
`uv_stream_connection_fields` with `write_queue` (struct uv__queue),
mirroring the Unix stream implementation. Add `struct uv__queue queue`
to `UV_WRITE_PRIVATE_FIELDS` so each `uv_write_t` can be linked.

This enables iterating over in-flight write requests individually, which
is used in `uv__tcp_try_cancel_reqs` to replace the blanket `CancelIo`
call with per-request `CancelIoEx` calls (resolving the TODO comment
that anticipated this change).

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-16 17:36:41 -04:00
..
async.c 2023.06.30, Version 1.46.0 (Stable) 2023-11-14 14:29:02 +00:00
atomicops-inl.h mingw: fix building for ARM/AArch64 2021-07-14 12:36:30 -04:00
core.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
detect-wakeup.c nfci: address some style nits 2020-08-21 17:25:42 -04:00
dl.c misc: export WTF8 conversion utilities (#4021) 2023-10-28 21:04:57 -04:00
error.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
fs-event.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
fs-fd-hash-inl.h 2020.08.26, Version 1.39.0 (Stable) 2020-08-27 11:37:05 -04:00
fs.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
getaddrinfo.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
getnameinfo.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
handle-inl.h fs-poll: remove uv_fs_poll_t entirely (#5063) 2026-03-16 13:04:58 -04:00
handle.c fs-poll: remove uv_fs_poll_t entirely (#5063) 2026-03-16 13:04:58 -04:00
internal.h fs-poll: remove uv_fs_poll_t entirely (#5063) 2026-03-16 13:04:58 -04:00
pipe.c win: track each write_req in a queue instead of just a count (#5059) 2026-03-16 17:36:41 -04:00
poll.c win: drop code checking for Windows XP / Server 2k3 2022-11-08 06:51:07 +01:00
process-stdio.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
process.c unix: support setting supplementary process groups (#4704) 2025-12-20 20:08:48 +01:00
req-inl.h 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
signal.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
stream-inl.h win: track each write_req in a queue instead of just a count (#5059) 2026-03-16 17:36:41 -04:00
stream.c win: track each write_req in a queue instead of just a count (#5059) 2026-03-16 17:36:41 -04:00
tcp.c win: track each write_req in a queue instead of just a count (#5059) 2026-03-16 17:36:41 -04:00
thread.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
tty.c win: track each write_req in a queue instead of just a count (#5059) 2026-03-16 17:36:41 -04:00
udp.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
util.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
winapi.c win: use GetQueuedCompletionStatusEx directly 2024-12-10 23:44:29 +01:00
winapi.h win,fs: get (most) fstat when no permission (#4566) 2024-12-12 15:05:53 -05:00
winsock.c win: fix style nits [NFC] (#3474) 2022-02-15 10:13:24 -05:00
winsock.h 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00