From 0226440a2d915e34139413803b3c9fbb261dd9c1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 11 Jan 2013 10:50:59 +0100 Subject: 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(). --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index fe922a6af..170e74dc0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -158,9 +158,11 @@ src_mpd_SOURCES = \ $(MIXER_API_SRC) \ src/thread/Mutex.hxx \ src/thread/PosixMutex.hxx \ + src/thread/CriticalSection.hxx \ src/thread/GLibMutex.hxx \ src/thread/Cond.hxx \ src/thread/PosixCond.hxx \ + src/thread/WindowsCond.hxx \ src/thread/GLibCond.hxx \ src/glib_socket.h \ src/clock.c src/clock.h \ -- cgit v1.2.3