Skip to content
Commit acae3c0f authored by JW Wang's avatar JW Wang
Browse files

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
parent be703849
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment