libuv: macos: restore use of kqueue instead of posix poll

Revert commit f54ec4e7f9 (libuv: macos: use posix poll instead of
kqueue, 2024-03-31, v3.29.1~7^2) and its parent.  It is not necessary
after the kqueue-based implementation was fixed to reap child processes
more reliably.

Issue: #25839
This commit is contained in:
Brad King
2024-06-21 13:56:46 -04:00
parent 7e3519e705
commit 422c1de564
3 changed files with 4 additions and 11 deletions

View File

@@ -30,11 +30,6 @@
# define UV_PLATFORM_SEM_T semaphore_t
#endif
#if 1 /* FIXME(#25839): use posix poll to avoid kqueue hangs on macOS. */
# include "posix.h"
#else
#define UV_HAVE_KQUEUE 1
#define UV_IO_PRIVATE_PLATFORM_FIELDS \
int rcount; \
int wcount; \
@@ -58,9 +53,9 @@
int cf_error; \
uv_mutex_t cf_mutex; \
#endif
#define UV_STREAM_PRIVATE_PLATFORM_FIELDS \
void* select; \
#define UV_HAVE_KQUEUE 1
#endif /* UV_DARWIN_H */