aboutsummaryrefslogtreecommitdiff
path: root/src/threadsafety.h
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup code using forward declarations.Brandon Dahler2013-11-101-0/+1
| | | | | | | | | Use misc methods of avoiding unnecesary header includes. Replace int typedefs with int##_t from stdint.h. Replace PRI64[xdu] with PRI[xdu]64 from inttypes.h. Normalize QT_VERSION ifs where possible. Resolve some indirect dependencies as direct ones. Remove extern declarations from .cpp files.
* o Added threadsafety.h - a set of macros using the -Wthread-safetyAlexander Kjeldaas2012-11-111-0/+53
feature in clang. These macros should primarily be used to document which locks protect a given piece of data. Secondary it can be used to document the set of held and excluded locks when entering a function.