commit | acae3c0f3bb4dbb7fd815f38f34fc6a5f6b27c9b | [log] [tgz] |
---|---|---|
author | JW Wang <wangchun@google.com> | Mon Jul 27 14:52:28 2020 +0800 |
committer | JW Wang <wangchun@google.com> | Thu Jul 30 08:38:35 2020 +0800 |
tree | 62ed1c52ea3522c7488b627a17cb6b523ffb3214 | |
parent | be70384952d3371d73bf058ab1a789b087b2cb45 [diff] |
Ensure mutation to multiple objects is done atomically Acquire both parent and child locks before mutation begins. This ensures no concurrent mutation is possible on another thread. Bug: 161954235 Test: atest StagedInstallTest AtomicInstallTest Change-Id: If4b83ef83bbe7e85e91a6b8f16e01d4dc0d6d8e6