libuv/include
Jameson Nash ec67735412
win,pipe: fix bugs with pipe resource lifetime management (#3611)
If `uv_close` was called while a connect was pending, we would fail to
release the resources for the connection, since we had not yet set the
type of the struct.

Fix a thread data-race on slow connect path code: only permitted to
write to `req` on threads, as anything else causes data race
corruption.

There seemed be a small variety of other resource management bugs in
edge cases, which turned out to make this a lot larger than initially
expected.

Refs: https://github.com/libuv/libuv/pull/3598#issuecomment-1111513567
2022-05-13 12:40:02 +02:00
..
uv win,pipe: fix bugs with pipe resource lifetime management (#3611) 2022-05-13 12:40:02 +02:00
uv.h unix,win: add uv_available_parallelism() (#3499) 2022-03-04 22:35:14 +01:00