; * src/w32proc.c: Update the commentary to sys_select.

This commit is contained in:
Eli Zaretskii 2016-03-01 20:18:10 +02:00
parent 14810299f2
commit ab30bf5e87

View file

@ -2062,10 +2062,11 @@ sys_spawnve (int mode, char *cmdname, char **argv, char **envp)
return pid; return pid;
} }
/* Emulate the select call /* Emulate the select call.
Wait for available input on any of the given rfds, or timeout if Wait for available input on any of the given rfds, or timeout if
a timeout is given and no input is detected a timeout is given and no input is detected. wfds are supported
wfds and efds are not supported and must be NULL. only for asynchronous 'connect' calls. efds are not supported
and must be NULL.
For simplicity, we detect the death of child processes here and For simplicity, we detect the death of child processes here and
synchronously call the SIGCHLD handler. Since it is possible for synchronously call the SIGCHLD handler. Since it is possible for