summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Edgar Arriaga <edgararriaga@google.com> 2022-03-29 19:53:06 -0700
committer Edgar Arriaga <edgararriaga@google.com> 2022-04-27 14:41:42 -0700
commitce1bdbe56d26746d1e41e371ea1fde5e5d6ce8a7 (patch)
treea1c948911c3e8664480a857f2c0bd7627800ecab /libs/androidfw/StringPool.cpp
parent463a08b2acc43db3cbc7e05f591e58e9ace768a3 (diff)
Add volatile to some cancel compaction signals to avoid compiler optimizations
The compaction cancel signals are delivered between different threads so add volatile keyword for such variables to make sure the compiler does not try to optimize the values avoiding them to be effective due to potential register caching. Bug: 227060330 Test: Manual Change-Id: I42503e02627c6f76382a58da9320b3f5df15a75d
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions