platform_system_core/logwrapper
Tao Wu bc31090b7a Don't go busy loop when waiting child process.
Before this change, code works like this: after gets POLLHUP from poll, it just
go a busy loop to do poll -> waitpid -> poll -> waitpid ... until child process
really exit. This doesn't make sense and is waste of CPU.

Change-Id: If6cd8b0245587d623e309c3ae27f162e1c7ef504
Signed-off-by: Tao Wu <lepton@google.com>
2016-02-16 10:13:48 -08:00
..
include/logwrap Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h 2015-08-21 17:14:59 -07:00
Android.mk Add FORK_EXECVP_OPTION_CAPTURE_OUTPUT to logwrap.h 2015-08-21 17:14:59 -07:00
NOTICE Automated import from //branches/master/...@140824,140824 2009-03-24 18:36:50 -07:00
logwrap.c Don't go busy loop when waiting child process. 2016-02-16 10:13:48 -08:00
logwrapper.c Add |opts| argument to android_fork_execvp_ext 2015-08-19 11:00:37 -07:00