libuv/include/uv
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
..
aix.h
bsd.h
darwin.h unix,win: replace QUEUE with struct uv__queue (#4022) 2023-05-25 00:04:30 +02:00
errno.h unix,win: map ENOEXEC errno 2024-10-22 10:26:32 +02:00
linux.h unix,win: replace QUEUE with struct uv__queue (#4022) 2023-05-25 00:04:30 +02:00
os390.h
posix.h
sunos.h
threadpool.h unix,win: replace QUEUE with struct uv__queue (#4022) 2023-05-25 00:04:30 +02:00
tree.h unix,win: remove unused rb-tree macro parameters (#4518) 2024-08-25 22:54:09 +02:00
unix.h 2025.01.15, Version 1.50.0 (Stable) 2025-02-26 19:13:27 +00:00
version.h 2025.01.15, Version 1.50.0 (Stable) 2025-01-15 19:05:29 +01:00
win.h win: track each write_req in a queue instead of just a count (#5059) 2026-03-16 17:36:41 -04:00