summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Steven Moreland <smoreland@google.com> 2021-09-17 18:06:32 -0700
committer Steven Moreland <smoreland@google.com> 2021-09-20 21:45:40 +0000
commit925ba0ab221cc684ba86bc3bb8bcb6c2d90375af (patch)
treed278fdfb9e270331ddf7ced216524f4d2c8fe397 /libs/gui/QueueBufferInputOutput.cpp
parentccb2d05f80bfaff30bced84bb0da6d62458357cb (diff)
binderRpcTest: fix OnewayStressTest flake
On slow devices, the decref from asynchronous calls wouldn't be processed in time. So, making multiple simultaneous twoway calls to make sure we wait for every server thread to finish processing everything. This could still flake if a device delayed for >500ms, but for this amount of time performance can be considered part of a correctness. If there are further issues, we can add additional APIs which let us control how calls are scheduled so we can make sure to process a two-way transaction on every thread. Fixes: 200173589 Test: binderRpcTest OnewayStressTest on repeat Change-Id: I719499a14530f2108644a814c5df2d1718893793
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions