This errors arise with some clang version and -Wthread-safety-analysis. Introduced in D11436.
Note: the annotations are also needlessely duplicated in the function definition and should be removed by backporting https://github.com/bitcoin/bitcoin/pull/21188.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABCd63cbfbcbd5b: Fix thread safety error: negative handling capability
With a recent Clang:
ninja all check
Check it raises no warning.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable