diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2015-06-16 03:46:36 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2015-06-16 03:59:26 -0400 |
commit | cd27bba060d91995da706bc03cd2ef39b79b49b1 (patch) | |
tree | b8d476c4404a36394492bf64542892cd5d28642a /src/net.cpp | |
parent | c1fb0e1075f626ea23d832b07b2070e0638f4215 (diff) | |
download | bitcoin-cd27bba060d91995da706bc03cd2ef39b79b49b1.tar.xz |
locking: teach Clang's -Wthread-safety to cope with our scoped lock macros
This allows us to use function/variable/class attributes to specify locking
requisites, allowing problems to be detected during static analysis.
This works perfectly with newer Clang versions (tested with 3.3-3.7). For older
versions (tested 3.2), it compiles fine but spews lots of false-positives.
Diffstat (limited to 'src/net.cpp')
0 files changed, 0 insertions, 0 deletions