no fake lock under Windows (cherry picked from commit 62cb039e40811a5881ee8dcc37c9710...
authorPeter Kümmel <syntheticpp@gmx.net>
Tue, 21 Nov 2006 19:51:13 +0000 (19:51 +0000)
committerunknown <Administrator@.(none)>
Mon, 30 Nov 2009 09:17:50 +0000 (10:17 +0100)
dbus/dbus-threads.c

index 2e41ed960396f6b6a9475b73ec5823964a407c45..b425ae7b5b5200c2958376de278bda5145976ca3 100644 (file)
@@ -812,7 +812,11 @@ dbus_fake_condvar_wake_all (DBusCondVar *cond)
 dbus_bool_t
 _dbus_threads_init_debug (void)
 {
+#ifdef DBUS_WIN
+  return _dbus_threads_init_platform_specific();
+#else
   return dbus_threads_init (&fake_functions);
+#endif
 }
 
 #endif /* DBUS_BUILD_TESTS */