#
b5eb41d8 |
| 25-Aug-2024 |
Viacheslav Muravyev |
unix,win: remove unused rb-tree macro parameters (#4518)
|
#
10f31363 |
| 06-Feb-2024 |
Santiago Gimeno |
Revert "unix: restore signal disposition to previous one (#4216)" (#4302) This reverts commit b9421d70665352138557d2d2338656a38ac70691. Refs: https://github.com/libuv/libuv/issues/4
Revert "unix: restore signal disposition to previous one (#4216)" (#4302) This reverts commit b9421d70665352138557d2d2338656a38ac70691. Refs: https://github.com/libuv/libuv/issues/4299 Refs: https://github.com/libuv/libuv/issues/4248
show more ...
|
#
b9421d70 |
| 15-Nov-2023 |
Viacheslav Muravyev |
unix: restore signal disposition to previous one (#4216) Fixes: https://github.com/libuv/libuv/issues/2435
|
#
2a4cab70 |
| 29-Sep-2023 |
SmorkalovG |
unix: reset signal counters after fork (#3485) If a signal was received but was not dispatched before fork then caught_signals counter should be reset. Closing of signal pipe makes i
unix: reset signal counters after fork (#3485) If a signal was received but was not dispatched before fork then caught_signals counter should be reset. Closing of signal pipe makes impossible to receive the signal that was counted. There is no need in this signal because it was sent to parent process Fixes: https://github.com/libuv/libuv/issues/3483
show more ...
|
#
1b01b786 |
| 24-May-2023 |
Ben Noordhuis |
unix,win: replace QUEUE with struct uv__queue (#4022) Recent versions of gcc have started emitting warnings about the liberal type casting inside the QUEUE macros. Although the warnings
unix,win: replace QUEUE with struct uv__queue (#4022) Recent versions of gcc have started emitting warnings about the liberal type casting inside the QUEUE macros. Although the warnings are false positives, let's use them as the impetus to switch to a type-safer and arguably cleaner approach. Fixes: https://github.com/libuv/libuv/issues/4019
show more ...
|
#
42cc412c |
| 01-Feb-2023 |
Jameson Nash |
darwin,process: feed kevent the signal to reap children (#3893) Since we are emulating this event, but are not using the pending_queue, we need to make sure it is accounted for properly.
darwin,process: feed kevent the signal to reap children (#3893) Since we are emulating this event, but are not using the pending_queue, we need to make sure it is accounted for properly. Also DRY some of the reset_timeout code here. This was observed to cause a hang in certain rare cases, particularly on M1 machines. Do a bit of code cleanup too, since we do not need to initialize the internal signal handling pipe if it will not be used.
show more ...
|
Revision tags: v1.41.0 |
|
#
4ddc2927 |
| 10-Nov-2020 |
Jameson Nash |
stream: add uv_pipe and uv_socketpair to the API Equivalents of `pipe` and `socketpair` for cross-platform use. PR-URL: https://github.com/libuv/libuv/pull/2953 Reviewed-By: San
stream: add uv_pipe and uv_socketpair to the API Equivalents of `pipe` and `socketpair` for cross-platform use. PR-URL: https://github.com/libuv/libuv/pull/2953 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.40.0, v1.39.0 |
|
#
1e60e85a |
| 20-Jul-2020 |
ssrlive <30760636+ssrlive@users.noreply.github.com> |
unix: squelch harmless valgrind warning PR-URL: https://github.com/libuv/libuv/pull/2895 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.
unix: squelch harmless valgrind warning PR-URL: https://github.com/libuv/libuv/pull/2895 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.38.1, v1.38.0 |
|
#
72fe3543 |
| 22-Apr-2020 |
Ben Noordhuis |
unix,win: add uv_library_shutdown() Make it possible to explicitly tell libuv to release any resources it's still holding onto (memory, threads, file descriptors, etc.) Before t
unix,win: add uv_library_shutdown() Make it possible to explicitly tell libuv to release any resources it's still holding onto (memory, threads, file descriptors, etc.) Before this commit, cleanup was performed in various destructors. This commit centralizes the cleanup logic, enabling the addition of `uv_library_shutdown()`, but maintains the current observable behavior of cleaning up when libuv is unloaded by means of `dlclose(3)`. Fixes: https://github.com/libuv/libuv/issues/2763 PR-URL: https://github.com/libuv/libuv/pull/2764 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.37.0, v1.36.0, v1.35.0 |
|
#
70469dca |
| 10-Mar-2020 |
Ben Noordhuis |
unix: fix signal handle closing deferral The way libuv handled closing of `uv_signal_t` handles with pending events introduced an infidelity where `uv_loop_alive()` returned false wh
unix: fix signal handle closing deferral The way libuv handled closing of `uv_signal_t` handles with pending events introduced an infidelity where `uv_loop_alive()` returned false while the signal handle was still in the closing-but-not-closed state. Fixes: https://github.com/libuv/libuv/issues/2721 PR-URL: https://github.com/libuv/libuv/pull/2722 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.34.2, v1.34.1 |
|
#
93ca478a |
| 16-Dec-2019 |
George Zhao |
unix: fix -Wunused-but-set-variable warning PR-URL: https://github.com/libuv/libuv/pull/2517 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.c
unix: fix -Wunused-but-set-variable warning PR-URL: https://github.com/libuv/libuv/pull/2517 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.34.0, v1.33.1, v1.33.0, v1.32.0 |
|
#
1de15170 |
| 13-Aug-2019 |
Santiago Gimeno |
unix,signal: keep handle active if pending signal Keep the signal handler active after being closed until all the caught signals have been delivered. Fixes: https://github.com/l
unix,signal: keep handle active if pending signal Keep the signal handler active after being closed until all the caught signals have been delivered. Fixes: https://github.com/libuv/libuv/issues/2398 Fixes: https://github.com/libuv/libuv/issues/2415 PR-URL: https://github.com/libuv/libuv/pull/2423 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
show more ...
|
Revision tags: v1.31.0, v1.30.1, v1.30.0 |
|
#
d92c5d13 |
| 29-May-2019 |
Evgeny Ermakov |
unix: fix a comment typo in signal.c PR-URL: https://github.com/libuv/libuv/pull/2318 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Re
unix: fix a comment typo in signal.c PR-URL: https://github.com/libuv/libuv/pull/2318 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Vladimír Čunát <v@cunat.cz>
show more ...
|
Revision tags: v1.29.1, v1.29.0, v1.28.0, v1.27.0, v1.26.0, v1.25.0, v1.24.1, v1.24.0, v1.23.2, v1.23.1, v1.23.0, v1.22.0 |
|
#
619937c7 |
| 28-Jun-2018 |
Ben Noordhuis |
unix,win: merge handle flags Some long overdue refactoring that unifies more of the UNIX and Windows backends. PR-URL: https://github.com/libuv/libuv/pull/1904 Reviewed-By:
unix,win: merge handle flags Some long overdue refactoring that unifies more of the UNIX and Windows backends. PR-URL: https://github.com/libuv/libuv/pull/1904 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.21.0 |
|
#
a4623c73 |
| 30-May-2018 |
Ben Noordhuis |
unix: close signal pipe fds on unload Add a destructor function that closes the file descriptors when libuv.so is unloaded. Fixes: https://github.com/libuv/help/issues/52 PR
unix: close signal pipe fds on unload Add a destructor function that closes the file descriptors when libuv.so is unloaded. Fixes: https://github.com/libuv/help/issues/52 PR-URL: https://github.com/libuv/libuv/pull/1857 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
show more ...
|
Revision tags: v1.20.3, v1.20.2, v1.20.1, v1.20.0, v1.19.2, v1.19.1 |
|
#
89cbbc89 |
| 19-Jan-2018 |
Mason X |
include,src: introduce UV__ERR() macro Using -errno, -E**, and -pthread_function() can be error prone, and breaks compatibility with some operating systems that already negate errno'
include,src: introduce UV__ERR() macro Using -errno, -E**, and -pthread_function() can be error prone, and breaks compatibility with some operating systems that already negate errno's (e.g. Haiku). This commit adds a UV__ERR() macro that ensures libuv errors are negative. Fixes: https://github.com/libuv/help/issues/39 PR-URL: https://github.com/libuv/libuv/pull/1687 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.19.0 |
|
#
52b8b9a8 |
| 09-Jan-2018 |
Brad King |
unix: use SA_RESTART when setting our sighandler BSD `signal(2)` semantics make some system calls (e.g. for `write`) restartable when interrupted by a signal handler. Use `SA_RESTART` t
unix: use SA_RESTART when setting our sighandler BSD `signal(2)` semantics make some system calls (e.g. for `write`) restartable when interrupted by a signal handler. Use `SA_RESTART` to enable these semantics everywhere that supports them. This was done by libev back when we used it. In addition to being common practice, this is required by C++ stream libraries that interpret `EINTR` as any other error, set `badbit`, and stop writing. I've observed this with `libstdc++` during a `std::cout.flush()` call interrupted by `SIGCHLD`. PR-URL: https://github.com/libuv/libuv/pull/1696 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
show more ...
|
Revision tags: v1.18.0, v1.17.0, v1.16.1, v1.16.0, v1.15.0, v1.14.1, v1.14.0, v1.13.1, v1.13.0, v1.12.0, v1.11.0, v1.10.2, v1.10.1, v1.10.0, v0.10.37, v1.9.1 |
|
#
fd7ce57f |
| 22-Apr-2016 |
Jason Madden |
unix: make loops and watchers usable after fork() Added the uv_loop_fork() API that must be called in a child process to continue using an existing loop. Internally this calls a uv__io_f
unix: make loops and watchers usable after fork() Added the uv_loop_fork() API that must be called in a child process to continue using an existing loop. Internally this calls a uv__io_fork function for each supported platform, similar to the way uv__platform_loop_init works. After this call, existing and new IO, async and signal watchers will contiue working as before on all platforms, as will the threadpool (although any threads it was using are of course gone). On Linux and BSDs that use kqueue, existing and new fsevent watchers will also continue to work as expected. On OS X, though, directory fsevents will not be able to use the optimized CoreFoundation path if they had already been used in the parent process, instead falling back to the kqueue path used on other BSDs. Existing fsevent watchers will not function on AIX or SunOS. This could be relatively easily fixed by someone with AIX knowledge in the future, but SunOS will require some additional work to keep track if the watchers. A new test file, test/test-fork.c, was added to contain fork-related tests to verify functionality in the child process. PR-URL: https://github.com/libuv/libuv/pull/846 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
#
45616f54 |
| 23-Oct-2016 |
Santiago Gimeno |
signal: add uv_signal_start_oneshot method It behaves as `uv_signal_start` but it resets the signal handler as soon as the signal is received. Fixes: https://github.com/libuv/li
signal: add uv_signal_start_oneshot method It behaves as `uv_signal_start` but it resets the signal handler as soon as the signal is received. Fixes: https://github.com/libuv/libuv/issues/1104 PR-URL: https://github.com/libuv/libuv/pull/1106 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
show more ...
|
#
668d24d8 |
| 01-Nov-2016 |
Santiago Gimeno |
unix: use uv__is_closing everywhere PR-URL: https://github.com/libuv/libuv/pull/1117 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> |
#
31e5d665 |
| 16-Oct-2016 |
Santiago Gimeno |
signal: replace pthread_once with uv_once So it aborts in case `pthread_once` fails. PR-URL: https://github.com/libuv/libuv/pull/1098 Reviewed-By: Ben Noordhuis <info@bnoordhuis
signal: replace pthread_once with uv_once So it aborts in case `pthread_once` fails. PR-URL: https://github.com/libuv/libuv/pull/1098 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
#
375ba2d7 |
| 09-Apr-2016 |
Ben Noordhuis |
unix: use POLL{IN,OUT,etc} constants directly Remove the UV__POLL defines and use POLL{IN,OUT,etc} directly. On Linux, we lean on the fact that the POLL constants correspond one-to-o
unix: use POLL{IN,OUT,etc} constants directly Remove the UV__POLL defines and use POLL{IN,OUT,etc} directly. On Linux, we lean on the fact that the POLL constants correspond one-to-one to their EPOLL counterparts. Fixes: https://github.com/libuv/libuv/issues/816 PR-URL: https://github.com/libuv/libuv/pull/817 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.9.0, v1.8.0 |
|
#
442b8a5a |
| 08-Oct-2015 |
Ben Noordhuis |
unix: use QUEUE_MOVE when iterating over lists Replace uses of QUEUE_FOREACH when the list can get modified while iterating over it, in particular when a callback is made into the us
unix: use QUEUE_MOVE when iterating over lists Replace uses of QUEUE_FOREACH when the list can get modified while iterating over it, in particular when a callback is made into the user's code. This should fix a number of spurious failures that people have been reporting. PR-URL: https://github.com/libuv/libuv/pull/565 Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
show more ...
|
Revision tags: v1.7.5, v1.7.4, v1.7.3, v1.7.2, v1.7.1, v1.7.0, v1.6.1, v1.6.0, v1.5.0, v0.10.36, v1.4.2, v0.10.35, v1.4.1, v0.10.34, v1.4.0, v1.3.0, v0.10.33, v1.2.1, v1.2.0, v0.10.32, v1.1.0, v0.10.31, v1.0.2, v0.10.30, v1.0.1, v1.0.0, v0.10.29, v1.0.0-rc2, v1.0.0-rc1, v0.11.29, v0.11.28, v0.11.27, v0.10.28, v0.11.26, v0.10.27, v0.11.25, v0.11.24, v0.11.23, v0.10.26, v0.11.22, v0.11.21, v0.11.20, v0.10.25, v0.11.19, v0.10.24, v0.11.18, v0.10.23, v0.10.22, v0.11.17, v0.10.21, v0.11.16, v0.10.20 |
|
#
646de34f |
| 06-Dec-2013 |
Fedor Indutny |
unix: fix various memory leaks and undef behavior Kindly suggested by `cppcheck`. |
Revision tags: v0.11.15, v0.10.19, v0.11.14, v0.10.18 |
|
#
fe4f0626 |
| 18-Oct-2013 |
Ben Noordhuis |
Merge remote-tracking branch 'origin/v0.10' Conflicts: include/uv-darwin.h src/unix/fsevents.c src/unix/process.c
|