From 7fc350740c64ebd095615b8384de0bce0b4d8074 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Fri, 26 Nov 2004 06:30:38 +0000 Subject: 2004-11-26 Havoc Pennington * dbus/dbus-threads.c (init_global_locks): forgot to put the message cache lock here --- ChangeLog | 7 ++++++- dbus/dbus-threads.c | 3 ++- 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 - + + * dbus/dbus-threads.c (init_global_locks): forgot to put the + message cache lock here + +2004-11-26 Havoc Pennington + * 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 }; -- cgit