Page MenuHomePhabricator

Replace RecursiveMutex m_cs_chainstate with Mutex, and rename it
ClosedPublic

Authored by Fabien on Oct 12 2022, 15:17.

Details

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.

Diff Detail

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