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().
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user