summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2016-02-16 10:30:33 -0800
committerDianne Hackborn <hackbod@google.com>2016-02-19 16:49:47 -0800
commit33d31c5b70c7d056e799e34bb6eccbe6939714ea (patch)
tree8f754971ad5144d2503fec7252588bbfdb11f6b6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent263e21f12cba4a2c5b4a6ac07fad55a4afc2ec45 (diff)
Simplify job scheduler service locking.
Unify all locks to just one lock protecting the entire service. There is really no need for more complicated locking -- there is nothing in the code that can take a long time to complete. And having a single lock will allow various parts of the code to be much simpler and easier to maintain. This is just the first step of the change, switching all of the locking to use one lock. With this done, we can now start simplifying the code. For example, JobStatus no longer needs to do any locking (or have atomic variables and such), it can just rely on its callers holding the global service lock. Change-Id: I502916ed7f2994b601750c67a59a96b1a4e95c6d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions