summaryrefslogtreecommitdiff
path: root/libs/binder/BufferedTextOutput.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2020-12-02 23:34:15 +0000
committer Steven Moreland <smoreland@google.com> 2020-12-02 23:39:04 +0000
commitcde5d53acb0342dde317de78f981908a9d205bdc (patch)
tree41f2d2ab20a09ac101a54dbd7fdf6303f727bce7 /libs/binder/BufferedTextOutput.cpp
parent4aaa310584fcce57ec12eaf15a77312a9eb7c648 (diff)
binderSafeInterfaceTest: avoid zombie
On 64-bit cuttlefish (and some other reported devices), this test was failing to shut down properly (became a zombie process). In order to fix this, this now forks a server much earlier, to avoid child processes holding any resources. Also, as an effect: - no longer starting threadpool (only 1 thread is needed to process test) - using prctl to exit child process even in error cases Bug: 174621701 Test: atest binderSafeInterfaceTest (on 64-bit cuttlefish, no longer hangs) Change-Id: I326c42d0664e18c478efce83f935841e6dbfa8f3
Diffstat (limited to 'libs/binder/BufferedTextOutput.cpp')
0 files changed, 0 insertions, 0 deletions