libuv/src
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
..
unix fs-poll: remove uv_fs_poll_t entirely (#5063) 2026-03-16 13:04:58 -04:00
win win: track each write_req in a queue instead of just a count (#5059) 2026-03-16 17:36:41 -04:00
heap-inl.h
idna.c unix,win: fix off-by-one in uv_wtf8_to_utf16() (#4609) 2024-11-19 19:09:03 +01:00
idna.h misc: export WTF8 conversion utilities (#4021) 2023-10-28 21:04:57 -04:00
inet.c unix,win: fix 'sprintf' is deprecated warning (#3813) 2022-11-08 09:56:14 +01:00
loop-watcher.c 2023.06.30, Version 1.46.0 (Stable) 2023-11-14 14:29:02 +00:00
queue.h unix,win: replace QUEUE with struct uv__queue (#4022) 2023-05-25 00:04:30 +02:00
random.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
strscpy.c
strscpy.h
strtok.c core: add thread-safe strtok implementation (#3553) 2022-03-22 15:15:00 -04:00
strtok.h core: add thread-safe strtok implementation (#3553) 2022-03-22 15:15:00 -04:00
thread-common.c unix: test uv_barrier_t size in right block (#4311) 2024-02-12 09:58:28 +01:00
threadpool.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
timer.c 2024.02.07, Version 1.48.0 (Stable) 2024-02-09 19:52:08 +00:00
uv-common.c 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
uv-common.h win: track each write_req in a queue instead of just a count (#5059) 2026-03-16 17:36:41 -04:00
uv-data-getter-setters.c
version.c