commit | 796bdfd0afd25b723bc41c7283e66e570b5cec05 | [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 | 2230039fed40fcd83ceae9e58a57f740a6f2d02f | |
parent | 822546cb6709c456f2b095188a01669375121017 [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