You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, we use SIGPROC to wait for process events on Unix and thread pooling to wait for process events on Windows. This is a very inefficient strategy that doesn't scale for many child processes, like using poll() for I/O notification.
Most operating systems have better ways of handling events like this.
Linux has pidfd, which can be registered directly into async-io.
BSD has EVFILT_PROC, which is now exposed in async-io.