summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorRom Lemarchand <romlem@google.com>2013-01-09 21:31:25 -0800
committerRom Lemarchand <romlem@google.com>2013-01-14 11:11:58 -0800
commitb58a82295529e775fbb900ecfb2d9104b2dafdc1 (patch)
treeb1eda8cc7f4ba541ed6bc539609a245ae0f592e9 /trusty/coverage/coverage_test.cpp
parent1b325d196857d29fe5f022f2c574d3625e0adc08 (diff)
logwrapper: prevent logwrap from hanging when child dies
Sometimes the read on the PTY can wait indefinitely if the child dies. By using a poll statement that monitors both the output of the child and its state we prevent this from happening. Change-Id: I51d5556c66f039bca673145ca72db262977e1689
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions