commit | 1588e9b0c22c0d014955fc60bbf4123ee4a23ee8 | [log] [tgz] |
---|---|---|
author | Tom Cherry <tomcherry@google.com> | Mon Mar 09 12:43:18 2020 -0700 |
committer | Tom Cherry <tomcherry@google.com> | Tue Mar 10 08:46:15 2020 -0700 |
tree | afd97bb0ccfa5927824e672432b6c381cfe6f98e | |
parent | 7a287d075129bbe058f8df666ead2a0e5c5c5c2b [diff] |
liblog: minimum_log_priority should be atomic In case multiple threads try to reference this variable while it is being set, it should be atomic so that all threads always see a valid value. Bug: 150898477 Test: liblog, libbase unit tests Merged-In: If6c9e291f2471b96a752dc6e76e3e63458b71391 Change-Id: If6c9e291f2471b96a752dc6e76e3e63458b71391 (cherry picked from commit bbb16022c7d13e9cfc628bf0f3de4b40a3670679)