commit | 8aa57d28481dd3631f8b9a430fc79a348281e9ef | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Feb 12 13:59:03 2019 -0800 |
committer | Josh Gao <jmgao@google.com> | Tue Feb 12 16:32:35 2019 -0800 |
tree | c5c3540090a4860742fa6f3c0faa6bcdc6cbaaef | |
parent | 0c3770957b8db466721098ce0fec5672bbc721fa [diff] |
base: add ScopedLockAssertion. This is a useful helper for anyone that's using thread safety annotations alongside std::condition_variable, extract it from adb and move it to libbase. Test: mma Change-Id: Ic51e2f2a0e6a16628034b29d8ff32bf2155afccd