aboutsummaryrefslogtreecommitdiff
path: root/src/sync.h
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2017-11-08 17:07:40 -0500
committerRussell Yanofsky <russ@yanofsky.org>2018-08-03 07:11:37 -0500
commit9c4dc597ddc66acfd58a945a5ab11f833731abba (patch)
tree65dd64eda8515ccc9245a1b4bb2211d60c620c07 /src/sync.h
parent1382913e61f5db6ba849b1e261e8aefcd5a1ae68 (diff)
Use LOCK macros for non-recursive locks
Instead of std::unique_lock.
Diffstat (limited to 'src/sync.h')
-rw-r--r--src/sync.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sync.h b/src/sync.h
index 339a7e2c18..7306e7285e 100644
--- a/src/sync.h
+++ b/src/sync.h
@@ -112,9 +112,6 @@ typedef AnnotatedMixin<std::mutex> CWaitableCriticalSection;
/** Just a typedef for std::condition_variable, can be wrapped later if desired */
typedef std::condition_variable CConditionVariable;
-/** Just a typedef for std::unique_lock, can be wrapped later if desired */
-typedef std::unique_lock<std::mutex> WaitableLock;
-
#ifdef DEBUG_LOCKCONTENTION
void PrintLockContention(const char* pszName, const char* pszFile, int nLine);
#endif