From ab30bf5e8736f1414def53adae76a257fa482e53 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 1 Mar 2016 20:18:10 +0200 Subject: [PATCH] ; * src/w32proc.c: Update the commentary to sys_select. --- src/w32proc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/w32proc.c b/src/w32proc.c index a89a9850466..85ddbfd9c7b 100644 --- a/src/w32proc.c +++ b/src/w32proc.c @@ -2062,10 +2062,11 @@ sys_spawnve (int mode, char *cmdname, char **argv, char **envp) return pid; } -/* Emulate the select call +/* Emulate the select call. Wait for available input on any of the given rfds, or timeout if - a timeout is given and no input is detected - wfds and efds are not supported and must be NULL. + a timeout is given and no input is detected. wfds are supported + only for asynchronous 'connect' calls. efds are not supported + and must be NULL. For simplicity, we detect the death of child processes here and synchronously call the SIGCHLD handler. Since it is possible for -- 2.39.2