HomePhabricator

Replace RecursiveMutex m_cs_chainstate with Mutex, and rename it

Description

Replace RecursiveMutex m_cs_chainstate with Mutex, and rename it

Summary:

So apparently there is no recursion involved, so the m_cs_chainstate can be a non-recursive mutex.

Backport of core#24103.
Backport of core#24235.

Test Plan:
With Debug and Clang:

ninja all check

Run the TSAN build.

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
w0xlt <94266259+w0xlt@users.noreply.github.com>Authored on Jan 19 2022, 17:43
FabienCommitted on Oct 12 2022, 18:28
FabienPushed on Oct 12 2022, 18:28
Reviewer
Restricted Project
Differential Revision
D12227: Replace RecursiveMutex m_cs_chainstate with Mutex, and rename it
Parents
rABC7476a3c6356c: Increase timeout in wallet_multiwallet
Branches
Unknown
Tags
Unknown