libuv/src
Ben Noordhuis 942e1418ea
unix: improve uv_loop_init OOM handling (#4757)
Handle out-of-memory conditions in uv_loop_init better, albeit still
not perfect: bubble up the error instead of aborting.

Also fixes a file descriptor leak on Linux (and likely other platforms)
that the new test caught; the backend epoll fd was being leaked in the
error path.

Fixes: https://github.com/libuv/libuv/issues/4755
2025-04-18 16:23:51 +02:00
..
unix unix: improve uv_loop_init OOM handling (#4757) 2025-04-18 16:23:51 +02:00
win unix: improve uv_loop_init OOM handling (#4757) 2025-04-18 16:23:51 +02:00
fs-poll.c style: rename parameter to match definition 2025-03-17 22:32:21 +01:00
heap-inl.h heap: fix heap_remove() 2014-05-23 20:04:42 +04:00
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
queue.h unix,win: replace QUEUE with struct uv__queue (#4022) 2023-05-25 00:04:30 +02:00
random.c unix,win: remove unused req parameter from macros (#4435) 2024-07-11 21:29:15 +02:00
strscpy.c nfci: address some style nits 2020-08-21 17:25:42 -04:00
strscpy.h hurd: unbreak build on GNU/Hurd (#3450) 2022-02-23 12:04:18 -05:00
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 barrier: wait for prior out before next in (#3905) 2023-03-06 17:57:25 -05:00
threadpool.c src: set a default thread name for workers (#4664) 2025-01-08 13:58:28 +01:00
timer.c unix,win: reset the timer queue on stop (#4304) 2024-02-07 10:43:29 +01:00
uv-common.c unix,win: add uv_udp_try_send2 2024-12-13 21:52:59 +01:00
uv-common.h win: add ENABLE_VIRTUAL_TERMINAL_INPUT raw tty mode (#4688) 2025-02-21 23:34:53 +01:00
uv-data-getter-setters.c nfci: address some style nits 2020-08-21 17:25:42 -04:00
version.c core: add UV_VERSION_HEX macro 2015-06-29 23:08:41 +02:00