summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2004-11-26 06:30:38 +0000
committerHavoc Pennington <hp@redhat.com>2004-11-26 06:30:38 +0000
commit7fc350740c64ebd095615b8384de0bce0b4d8074 (patch)
tree617d02f7b7efc68481f226edef0d2a59c1f5c9d0
parenta58180de0e720f7fca46a5af69a7b27b5e102a1d (diff)
2004-11-26 Havoc Pennington <hp@redhat.com>
* dbus/dbus-threads.c (init_global_locks): forgot to put the message cache lock here
-rw-r--r--ChangeLog7
-rw-r--r--dbus/dbus-threads.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fe1f8a16..51fee4de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2004-11-26 Havoc Pennington <hp@redhat.com>
-
+
+ * dbus/dbus-threads.c (init_global_locks): forgot to put the
+ message cache lock here
+
+2004-11-26 Havoc Pennington <hp@redhat.com>
+
* dbus/dbus-message.c (struct DBusMessage): put the locked bit and
the "char byte_order" next to each other to save 4 bytes
(dbus_message_new_empty_header): reduce preallocation, since the
diff --git a/dbus/dbus-threads.c b/dbus/dbus-threads.c
index b3ab132d..3d1de5ef 100644
--- a/dbus/dbus-threads.c
+++ b/dbus/dbus-threads.c
@@ -229,7 +229,8 @@ init_global_locks (void)
LOCK_ADDR (atomic),
LOCK_ADDR (bus),
LOCK_ADDR (shutdown_funcs),
- LOCK_ADDR (system_users)
+ LOCK_ADDR (system_users),
+ LOCK_ADDR (message_cache)
#undef LOCK_ADDR
};