HomePhabricator

thread safety annotation for m_tx_relay_mutex and m_cached_tip_mutex

Description

thread safety annotation for m_tx_relay_mutex and m_cached_tip_mutex

Summary:
This is a partial backport of core#24931
https://github.com/bitcoin/bitcoin/pull/24931/commits/f24bd45b37e1b2d19e5a053dbfefa30306c1d41a
https://github.com/bitcoin/bitcoin/pull/24931/commits/be6aa72f9f8d50b6b5b19b319a74abe7ab4099ff
Depends on D14890

Test Plan:
After D14894:

cmake .. -GNinja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
ninja all check-all`

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Anthony Towns <aj@erisian.com.au>Authored on May 20 2022, 15:08
PiRKCommitted on Dec 4 2023, 06:56
PiRKPushed on Dec 4 2023, 06:56
Reviewer
Restricted Project
Differential Revision
D14891: thread safety annotation for m_tx_relay_mutex and m_cached_tip_mutex
Parents
rABCed7f1f7ff2f8: util, refactor: Add UNIQUE_NAME helper macro
Branches
Unknown
Tags
Unknown