mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
scripted-diff: Replace CCriticalSection with RecursiveMutex
-BEGIN VERIFY SCRIPT- # Delete outdated alias for RecursiveMutex sed -i -e '/CCriticalSection/d' ./src/sync.h # Replace use of outdated alias with RecursiveMutex sed -i -e 's/CCriticalSection/RecursiveMutex/g' $(git grep -l CCriticalSection) -END VERIFY SCRIPT-
This commit is contained in:
parent
ceb789cf3a
commit
6cbe620964
28 changed files with 48 additions and 49 deletions
|
|
@ -133,7 +133,7 @@ CTxMemPool mempool(&feeEstimator);
|
|||
namespace {
|
||||
CBlockIndex* pindexBestInvalid = nullptr;
|
||||
|
||||
CCriticalSection cs_LastBlockFile;
|
||||
RecursiveMutex cs_LastBlockFile;
|
||||
std::vector<CBlockFileInfo> vinfoBlockFile;
|
||||
int nLastBlockFile = 0;
|
||||
/** Global flag to indicate we should check to see if there are
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue