commit | 5bedc4d541aaa5428387d89ec6c9ca936e4f1b57 | [log] [tgz] |
---|---|---|
author | Dale Sather <dalesat@google.com> | Wed Jan 16 12:51:49 2019 -0800 |
committer | Dale Sather <dalesat@google.com> | Thu Jan 17 22:22:10 2019 +0000 |
tree | 0bfaf623335e48041c4e44fae03632cd59eaf7e5 | |
parent | 4367cfbe5b45dba49cfc490fe6a20953b9a9e190 [diff] |
[fxl] make ThreadChecker BasicLockable This CL makes ThreadChecker comply with BasicLockable so it can be used in conjunction with static thread analysis. This allows e.g. class members to be annotated with FXL_GUARDED_BY(thread_checker_) to ensure that the thread is checked everywhere those members are accessed. TEST: added lock/unlock calls to existing unit test Change-Id: I21264be75c8ed64ca71d40eb18d752021cad20b1