aboutsummaryrefslogtreecommitdiff
path: root/src/sync.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-01-07 23:14:15 +0700
committerMarcoFalke <falke.marco@gmail.com>2020-01-15 01:43:46 +0700
commit6cbe6209646db8914b87bf6edbc18c6031a16f1e (patch)
tree1b30ad3bd585cc3e91cf036943c195b25dfd4a19 /src/sync.h
parentceb789cf3a9075729efa07f5114ce0369d8606c3 (diff)
downloadbitcoin-6cbe6209646db8914b87bf6edbc18c6031a16f1e.tar.xz
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/sync.h')
-rw-r--r--src/sync.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sync.h b/src/sync.h
index bd32a8bb61..01d2b5c445 100644
--- a/src/sync.h
+++ b/src/sync.h
@@ -106,7 +106,6 @@ public:
* TODO: We should move away from using the recursive lock by default.
*/
using RecursiveMutex = AnnotatedMixin<std::recursive_mutex>;
-typedef AnnotatedMixin<std::recursive_mutex> CCriticalSection;
/** Wrapped mutex: supports waiting but not recursive locking */
typedef AnnotatedMixin<std::mutex> Mutex;