diff options
| author | Cory Fields <[email protected]> | 2015-06-16 03:46:36 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2015-06-16 03:59:26 -0400 |
| commit | cd27bba060d91995da706bc03cd2ef39b79b49b1 (patch) | |
| tree | b8d476c4404a36394492bf64542892cd5d28642a /src/net.cpp | |
| parent | Merge pull request #6274 (diff) | |
| download | discoin-cd27bba060d91995da706bc03cd2ef39b79b49b1.tar.xz discoin-cd27bba060d91995da706bc03cd2ef39b79b49b1.zip | |
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