summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-threads.c
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2006-08-18 15:46:59 +0000
committerJohn (J5) Palmieri <johnp@redhat.com>2006-08-18 15:46:59 +0000
commit7cd52919443f190fa1601a3d1bac5c8ce8d9ecc1 (patch)
treea64ecefa2f5115e67097d1b51aaebec9bad86237 /dbus/dbus-threads.c
parent711c065e5965cdf7a5869ecc3c3d43fb0dede34d (diff)
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)
Diffstat (limited to 'dbus/dbus-threads.c')
-rw-r--r--dbus/dbus-threads.c2
1 files changed, 2 insertions, 0 deletions
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),