summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
author Andrei Onea <andreionea@google.com> 2020-12-07 20:07:15 +0000
committer Andrei-Valentin Onea <andreionea@google.com> 2020-12-09 16:08:08 +0000
commit21f9a37d36da5a004e79250037a4b60e8d1e5563 (patch)
treebef1d186c5275016016cb3dcefbe0b06d0806dd0 /compiler/driver/compiler_options.h
parentce36b5f924283240a27fbaa520269b43e13ffd69 (diff)
Make CompatFramework::ReportChange thread safe
Guard accesses to reported_compat_changes_ with reported_compat_changes_lock_. Guarding disabled_compat_changes_ should not be necessary, as it's initialized synchronously early after zygote fork, never to be changed afterwards. Bug: 174843201 Test: manual Change-Id: I73b5dadf0576c2bc163602f566486172c35dd78d
Diffstat (limited to 'compiler/driver/compiler_options.h')
0 files changed, 0 insertions, 0 deletions