diff options
author | Max Kellermann <max@duempel.org> | 2013-01-11 10:50:59 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-11 11:11:07 +0100 |
commit | 0226440a2d915e34139413803b3c9fbb261dd9c1 (patch) | |
tree | 98efb491b9b3dfc26b37593af35f49edb98d588a /src/thread/Cond.hxx | |
parent | 9d770d6084cb90b99ab129ff0b9e1ef57aab9a83 (diff) | |
download | mpd-0226440a2d915e34139413803b3c9fbb261dd9c1.tar.gz mpd-0226440a2d915e34139413803b3c9fbb261dd9c1.tar.xz mpd-0226440a2d915e34139413803b3c9fbb261dd9c1.zip |
thread/{Mutex,Cond}: new backend for WIN32
Use CRITICAL_SECTION and CONDITION_VARIABLE. This requires Windows
Vista or newer. It fixes problems with GLib threading objects that
were implicitly created by static constructors before g_thread_init().
Diffstat (limited to 'src/thread/Cond.hxx')
-rw-r--r-- | src/thread/Cond.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thread/Cond.hxx b/src/thread/Cond.hxx index e971fa591..bbaabddc2 100644 --- a/src/thread/Cond.hxx +++ b/src/thread/Cond.hxx @@ -24,8 +24,8 @@ /* mingw-w64 4.6.3 lacks a std::cond implementation */ -#include "GLibCond.hxx" -typedef GLibCond Cond; +#include "WindowsCond.hxx" +typedef WindowsCond Cond; #else |