diff options
| author | MarcoFalke <[email protected]> | 2020-01-07 23:14:15 +0700 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-01-15 01:43:46 +0700 |
| commit | 6cbe6209646db8914b87bf6edbc18c6031a16f1e (patch) | |
| tree | 1b30ad3bd585cc3e91cf036943c195b25dfd4a19 /src/validation.cpp | |
| parent | Merge #17873: doc: Add to Doxygen documentation guidelines (diff) | |
| download | discoin-6cbe6209646db8914b87bf6edbc18c6031a16f1e.tar.xz discoin-6cbe6209646db8914b87bf6edbc18c6031a16f1e.zip | |
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-
Diffstat (limited to 'src/validation.cpp')
| -rw-r--r-- | src/validation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 755f8d43f..e60cf9d28 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -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 |