diff options
author | Gavin Corkery <gavincorkery@google.com> | 2020-04-07 00:12:15 +0100 |
---|---|---|
committer | Gavin Corkery <gavincorkery@google.com> | 2020-04-07 00:12:15 +0100 |
commit | 7f05f6a566d59d1dae40f88e1d0f82bf29452bd1 (patch) | |
tree | d5d9af0b0ef2893a5fc4fa8c487e045becc55548 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | ea6a210cf54fd90c042de30dde70ca3a2a0bc3b0 (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