commit | 3dc9358831fc7b02601ce02887e880c2caae3457 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed Aug 02 14:42:39 2017 -0700 |
committer | Josh Gao <jmgao@google.com> | Wed Aug 02 14:44:58 2017 -0700 |
tree | 1a019f28537c64455cd059e3c36021d9d8fd2d36 | |
parent | 619506e6ea06bbfeac282d9512572742027d8bcd [diff] |
base: work around thread safety analysis bug. Clang's assert_capability and assert_shared_capability annotations are nonfunctional until https://reviews.llvm.org/rL309725 is relanded and makes its way into our toolchain. Work around this by using the equivalent assert_lock and assert_shared_lock. Bug: http://b/64226736 Test: manual Change-Id: I40711f162ea1d492f1e0b3eff88bf6ae6d995e2f