diff options
author | Ron Yorston <rmy@pobox.com> | 2013-05-03 10:48:22 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2013-05-03 10:48:22 +0100 |
commit | 88b8cb61e8fb1db9026518c2302331b30146b9f2 (patch) | |
tree | 49ff75b7c613b4f4940add119b0f70022c3fafa0 /docs | |
parent | 6f2592dab9edd712dde7627aa2aca98e4ae1de04 (diff) | |
download | busybox-w32-88b8cb61e8fb1db9026518c2302331b30146b9f2.tar.gz busybox-w32-88b8cb61e8fb1db9026518c2302331b30146b9f2.tar.bz2 busybox-w32-88b8cb61e8fb1db9026518c2302331b30146b9f2.zip |
ash: Add a very small timeout to nonblocking wait
A nonblocking waitpid was implemented using WaitForMultipleObjects
with a timeout of 0. This was to fix an issue where builtin
commands in a foreground shell were blocked while a background
command was running.
However, this caused the shell to consume 100% CPU. A workaround
seems to be to use a very small (1ms) timeout.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions