commit | 298b08e55a9c3846fcdb9c3d36802c04d1a941e7 | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Tue Feb 15 13:45:02 2022 -0800 |
committer | Dominik Laskowski <domlaskowski@google.com> | Mon Mar 28 13:59:29 2022 -0700 |
tree | cc71864dbe0deb9f2df93a0a6a52e6344e31196e | |
parent | bd006786a7f19297e11c84474777ee6c9e15b0d9 [diff] |
SF: Generalize thread safety guards Replace the guards with a uniform syntax that can be reused with annotations other than mStateLock and SF_MAIN_THREAD. Bug: 182939859 Test: Build Change-Id: I03e6fe5d465111a5882d2fc1c09fe1dc9660aa07