HomePhabricator

Fix -Wthread-safety-analysis warnings

Description

Fix -Wthread-safety-analysis warnings

Summary: The locks were missing from D4186.

Test Plan:
With Clang as a compiler:

cmake -GNinja .. -DCMAKE_BUILD_TYPE=Debug
ninja check

Ensure there is no -Wthread-safety-analysis warning in the build
output, and all the tests are passing.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D4282

Details

Provenance
FabienAuthored on Oct 23 2019, 09:45
fpelliccioniPushed on Oct 23 2019, 16:19
Reviewer
Restricted Project
Differential Revision
D4282: Fix -Wthread-safety-analysis warnings
Parents
rSTAGINGebf78761756f: [CMAKE] Use CPack to build source packages
Branches
Unknown
Tags
Unknown