summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-03-01 20:18:10 +0200
committerEli Zaretskii <eliz@gnu.org>2016-03-01 20:18:10 +0200
commitab30bf5e8736f1414def53adae76a257fa482e53 (patch)
tree3c68fc4a7c97dded30244751275018f2066e2b68
parent14810299f24986b746bcd89032ade2eef2d15ceb (diff)
downloademacs-ab30bf5e8736f1414def53adae76a257fa482e53.tar.gz
; * src/w32proc.c: Update the commentary to sys_select.
-rw-r--r--src/w32proc.c7
1 files 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