deps: upgrade to libuv 1.42.0
The first commit is from https://github.com/nodejs/node/pull/39591.
Notable changes:
- win,tcp: make
uv_close()
work more like unix. - cleanup,win: Remove
_WIN32
guards on threadpool. - more errno mappings and fixes.
- higher performance try-writes.
- fix string encoding issue of
uv_os_gethostname()
(note: MINGW-W64 upstream is broken on i686 due to https://sourceforge.net/p/mingw-w64/bugs/899/). - zOS support.
- Workarounds for a
copy_file_range()
kernel bug. - Better support for TSan.
- darwin: use
RLIMIT_STACK
for fsevents pthread. - fix a bug that would cause libuv to hang if the user called
uv_shutdown()
. - darwin: fix
uv_barrier()
race condition.