aboutsummaryrefslogtreecommitdiff
path: root/src/thread/Mutex.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-10 09:16:22 +0100
committerMax Kellermann <max@duempel.org>2013-01-10 10:03:18 +0100
commit483ba5ea1ccebd4741fbcc5d92648ac6854c60fe (patch)
treef797f807c2f0b4ea0e48b82fdd92c51d980f509b /src/thread/Mutex.hxx
parent18076ac9b766485efc45931e62a164e5cc1a8542 (diff)
thread/GLibMutex: new Mutex implementation
Switch WIN32 to this implementation to be able to use condition variables, which is impossible with CriticalSection.
Diffstat (limited to 'src/thread/Mutex.hxx')
-rw-r--r--src/thread/Mutex.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread/Mutex.hxx b/src/thread/Mutex.hxx
index 675af74b..d2ebf4d1 100644
--- a/src/thread/Mutex.hxx
+++ b/src/thread/Mutex.hxx
@@ -24,8 +24,8 @@
/* mingw-w64 4.6.3 lacks a std::mutex implementation */
-#include "CriticalSection.hxx"
-typedef CriticalSection Mutex;
+#include "GLibMutex.hxx"
+typedef GLibMutex Mutex;
#else