Page MenuHomePhabricator

Fix thread safety error: negative handling capability
ClosedPublic

Authored by Fabien on May 11 2022, 08:46.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCd63cbfbcbd5b: Fix thread safety error: negative handling capability
Summary

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.

Test Plan

With a recent Clang:

ninja all check

Check it raises no warning.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable