diff options
author | Max Kellermann <max@duempel.org> | 2013-01-10 09:16:22 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-10 10:03:18 +0100 |
commit | 483ba5ea1ccebd4741fbcc5d92648ac6854c60fe (patch) | |
tree | f797f807c2f0b4ea0e48b82fdd92c51d980f509b /src/thread/Mutex.hxx | |
parent | 18076ac9b766485efc45931e62a164e5cc1a8542 (diff) | |
download | mpd-483ba5ea1ccebd4741fbcc5d92648ac6854c60fe.tar.gz mpd-483ba5ea1ccebd4741fbcc5d92648ac6854c60fe.tar.xz mpd-483ba5ea1ccebd4741fbcc5d92648ac6854c60fe.zip |
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.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread/Mutex.hxx b/src/thread/Mutex.hxx index 675af74b1..d2ebf4d1c 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 |