diff options
author | Trevor Norris <trev.norris@gmail.com> | 2023-07-11 14:11:25 -0600 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2023-08-04 14:10:53 -0600 |
commit | 2f8275009854599ec7de68dbef795e82b6b5fb30 (patch) | |
tree | ee8cba31cf2cb5aa50e7261a600bd89c58a1f186 /docs/src/conf.py | |
parent | e893cd682644e4b76589570251b18edbf957b81f (diff) | |
download | libuv-2f8275009854599ec7de68dbef795e82b6b5fb30.tar.gz libuv-2f8275009854599ec7de68dbef795e82b6b5fb30.zip |
unix: match kqueue and epoll code (#4091)
Match the implementation for linux.c to kqueue.c in the code around the
calls to kevent and epoll.
In linux.c the code was made more DRY by moving the nfds check up
(including a comment of why it's possible) and combining two if checks
into one.
In kqueue.c the assert to check the timeout when nfds == 0 has been
moved to be called directly after the EINTR check. Since it should
always be true regardless.
Ref: https://github.com/libuv/libuv/pull/3893
Ref: https://github.com/nodejs/node/issues/48490
Diffstat (limited to 'docs/src/conf.py')
0 files changed, 0 insertions, 0 deletions