aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar Adam Cozzette <acozzette@google.com>2018-05-30 14:06:37 -0700
committerGravatar Adam Cozzette <acozzette@google.com>2018-05-30 14:07:31 -0700
commitadc408698a60a165f38bd66221a1a9ca46ad0c46 (patch)
treea20488ad569dabdc911231425cfd7c269c90d925 /configure.ac
parentcf242503ec157a7dda8a6eda48712dd26c81d2e6 (diff)
Added Clang thread-safety annotations in mutex.h
For Clang's thread safety analysis (-Wthread-safety) to pass without warnings, we need to annotate WrappedMutex to indicate that Lock() acquires the lock and Unlock() releases it. This CL adds the annotations and guards them with an ifdef to make sure they're a no-op on compilers other than Clang. This is a cherry-pick of a change I already made to the Google-internal codebase.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions