HomePhabricator

Remove NO_THREAD_SAFETY_ANALYSIS from non-test/benchmarking code

Description

Remove NO_THREAD_SAFETY_ANALYSIS from non-test/benchmarking code

Summary:
This is a backport of core#25148

Depends on D12784

Notes:

  • there is one more occurence of NO_THREAD_SAFETY_ANALYSIS in avalanche/processor.cpp
  • CWallet::IsSpent and CWallet::ReacceptWalletTransaction already had the annotation, so I also added the assertion (this is still not done on Core's master branch)

Test Plan:
With Debug and TSAN

ninja all check check-functional

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>Authored on May 16 2022, 16:24
PiRKCommitted on Dec 8 2022, 15:05
PiRKPushed on Dec 8 2022, 15:05
Reviewer
Restricted Project
Differential Revision
D12809: Remove NO_THREAD_SAFETY_ANALYSIS from non-test/benchmarking code
Parents
rABC1b13d6f6feb8: Rename sigop to sigcheck in getblocktemplate
Branches
Unknown
Tags
Unknown