hello, I write some code to optimize the sys_select and waitpid. Code is here
https://github.com/heheda123123/emacs/compare/master...heheda123123:emacs:new_sys_select_for_win

original function is limited to 32 subprocess/sockets, use this code can break through the limit.