aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/google/protobuf/stubs/mutex.h
Commit message (Collapse)AuthorAge
* Added Clang thread-safety annotations in mutex.hGravatar Adam Cozzette2018-05-30
| | | | | | | | | | 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.
* Integrated internal changes from GoogleGravatar Adam Cozzette2018-03-13
|
* Merge from Google internal for 3.4 releaseGravatar Jisi Liu2017-07-18
|
* Move pthread include.Gravatar Tom Hughes2015-07-30
| | | | | Based on pull request feedback. See commit 60c5222 for why the pthread header is necessary.
* Split up common.h headersGravatar Jisi Liu2015-07-16
Change-Id: I223783111d743aa5193bf70fa1b9b54c7b4389c3