diff options
author | Kweku Adams <kwekua@google.com> | 2020-07-13 15:52:00 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2020-07-13 15:52:00 -0700 |
commit | c3a32b861d6c0f57ad6505db337a33e76d71263f (patch) | |
tree | ac17b03e55200877331692633eb338933a111498 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 79d4a4c181d5c4c8cfca51e83903b96ca1f30829 (diff) |
Avoid overlapping jobstore disk writes.
Given that a followup write could be scheduled while one is already
going on, if the first one took too long, then the send write could
start and overlap with the first write. This change prevents that
and makes sure there's only one write happening at a time.
Bug: N/A
Test: atest CtsJobSchedulerTestCases
Test: atest FrameworksServicesTests:JobStoreTest
Change-Id: Ie77510508795e5395a24a40266178283d0c525cb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions