diff options
author | Oli Lan <olilan@google.com> | 2019-09-11 13:38:43 +0100 |
---|---|---|
committer | Oli Lan <olilan@google.com> | 2019-09-19 11:52:49 +0100 |
commit | 8c0084d980961b0eb3845e0a9a85595f74ad5a72 (patch) | |
tree | 785ee2b142557939ef076d8dd50502dde98a8746 /startop/scripts/lib/print_utils.py | |
parent | 31f453f30fdd26b4c5d95a3825e38ed3c5580274 (diff) |
Add per-Rollback synchronisation.
This adds a lock object to each Rollback that should be acquired before
accessing any rollback state.
For now, this synchronisation has been added 'in-place' in
RollbackManagerServiceImpl. Future changes will move rollback functionality
from that class into the Rollback class, which will allow the synchronisation
to be handled internally within the Rollback.
Bug: 136241838
Test: atest RollbackTest
Test: atest CtsStagedInstallHostTestCases
Test: atest CtsRollbackManagerHostTestCases
Change-Id: I995f1647ccf0410a8832f097236482552729f4c8
Diffstat (limited to 'startop/scripts/lib/print_utils.py')
0 files changed, 0 insertions, 0 deletions