From 7cd52919443f190fa1601a3d1bac5c8ce8d9ecc1 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Fri, 18 Aug 2006 15:46:59 +0000 Subject: Patch provided by Ralf Habacker (ralf dot habacker at freenet dot de) * dbus/dbus-sysdeps.c, dbus/dbus-threads.c, dbus/dbus-internals.h: Add two more global locks for use on windows platforms. These are unused on non-windows platforms but are not ifdefed out to avoid potential bugs (i.e. the few bytes lost does not warrent the extra maintanence and complexity that having seperate sets of locks would cause) --- dbus/dbus-threads.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dbus/dbus-threads.c') diff --git a/dbus/dbus-threads.c b/dbus/dbus-threads.c index 78269634..7d7646e2 100644 --- a/dbus/dbus-threads.c +++ b/dbus/dbus-threads.c @@ -405,6 +405,8 @@ init_locks (void) DBusMutex **global_locks[] = { #define LOCK_ADDR(name) (& _dbus_lock_##name) + LOCK_ADDR (win_fds), + LOCK_ADDR (sid_atom_cache), LOCK_ADDR (list), LOCK_ADDR (connection_slots), LOCK_ADDR (pending_call_slots), -- cgit