Avoid busy-waiting for child processes on Windows. (Bug#13086)
commitccb37bd94bb1876588209ad134f7e9550ead36e8
authorEli Zaretskii <eliz@gnu.org>
Thu, 6 Dec 2012 18:36:22 +0000 (6 20:36 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 6 Dec 2012 18:36:22 +0000 (6 20:36 +0200)
tree7234e6cedd73c8883bc52ec6e771e9bb646bd3e2
parenta4c68e6b3fb8a4b971c3a63e35b29251eb54c86c
Avoid busy-waiting for child processes on Windows.  (Bug#13086)

 src/w32proc.c (waitpid): Avoid busy-waiting when called with WNOHANG
 if the child process is still running.  Instead, exit the wait
 loop and return zero.
src/ChangeLog
src/w32proc.c