Merge #10866: Fix -Wthread-safety-analysis warnings. Compile with -Wthread-safety...
commitef8a634358848847e006c43ce621bc17a612fd1f
authorPieter Wuille <pieter.wuille@gmail.com>
Tue, 7 Nov 2017 18:29:21 +0000 (7 10:29 -0800)
committerPieter Wuille <pieter.wuille@gmail.com>
Tue, 7 Nov 2017 18:36:58 +0000 (7 10:36 -0800)
tree01b37585163aa41fd152ec887f952e17e550e682
parent70fec9e36bcd1a3d93df019be084aaf89cecd7d7
parent76ea17c7964c15dd90e10c2c257cdeb5847b3d69
Merge #10866: Fix -Wthread-safety-analysis warnings. Compile with -Wthread-safety-analysis if available.

76ea17c79 Add mutex requirement for AddToCompactExtraTransactions(…) (practicalswift)
4616c825a Use -Wthread-safety-analysis if available (+ -Werror=thread-safety-analysis if --enable-werror) (practicalswift)
7e319d639 Fix -Wthread-safety-analysis warnings. Change the sync.h primitives to std from boost. (Matt Corallo)

Pull request description:

  * Add mutex requirement for `AddToCompactExtraTransactions(…)`.
  * Use `-Wthread-safety-analysis` if available.
  * Rebased on top of https://github.com/TheBlueMatt/bitcoin/commits/2017-08-test-10923 - now includes: Fix -Wthread-safety-analysis warnings. Change the sync.h primitives to std from boost.

Tree-SHA512: fb7365f85daa2741c276a1c899228181a8d46af51db7fbbdffceeaff121a3eb2ab74d7c8bf5e7de879bcc5042d00d24cb4649c312d51caba45a3f6135fd8b38f
configure.ac
src/init.cpp
src/net_processing.cpp