summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorGavin Corkery <gavincorkery@google.com>2020-04-07 00:12:15 +0100
committerGavin Corkery <gavincorkery@google.com>2020-04-07 00:12:15 +0100
commit7f05f6a566d59d1dae40f88e1d0f82bf29452bd1 (patch)
treed5d9af0b0ef2893a5fc4fa8c487e045becc55548 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentea6a210cf54fd90c042de30dde70ca3a2a0bc3b0 (diff)
Call startObservingHealth on handler thread
Both RescueParty and PackageWatchdog receive DeviceConfig callbacks. RescueParty may act on this callback by calling startObservingHealth, while PackageWatchdog will call updateConfigs. There may be a contention for PackageWatchdog#mLock in this case. Move some of the logic in startObservingHealth to the long task handler thread to avoid this. Bug: 150114865 Test: atest StagedRollbackTest Test: atest RescuePartyTest Change-Id: I74e1b21b7adddf35759e70211c47d31acfcae7f2
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions