summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2010-03-19 14:50:40 -0700
committerChristopher Tate <ctate@google.com>2010-03-19 15:28:43 -0700
commit4cee725b1fd3958d850fc83214797f76d5f6b468 (patch)
treecdc534fbe0ed664d9d821a9402398f1b5586ae16 /tools/aapt2/diff/Diff.cpp
parentdb129b886fedad1e57ff185ac680cdf3c34b1b99 (diff)
Use atomic++ rather than lock/++/unlock in the input dispatch code path
Decouples the input dispatch thread from the battery-stats object lock regime, to avoid the possibility of ever blocking the input dispatch thread on its behalf. The stats object is widely used and can sometimes be locked for a very long time (on the order of seconds) during certain extensive dump operations. This change does not alter the data format of the battery stats' externalized representations. Fixes bug #2530346 Change-Id: Iee288be3bf4936641b532dceecb8f6de8f552bf0
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions