From 85282c340b8fcd67c10bcf348b1c5d581f7dbd53 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 30 Aug 2003 00:26:00 +0000 Subject: 2003-08-29 Havoc Pennington * dbus/dbus-internals.h: fix _DBUS_N_GLOBAL_LOCKS --- ChangeLog | 4 ++++ dbus/dbus-internals.h | 2 +- doc/TODO | 8 ++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6aa36760..489b1d51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-08-29 Havoc Pennington + + * dbus/dbus-internals.h: fix _DBUS_N_GLOBAL_LOCKS + 2003-08-28 Havoc Pennington purge DBusObjectID diff --git a/dbus/dbus-internals.h b/dbus/dbus-internals.h index 1c0f7314..a0c5b194 100644 --- a/dbus/dbus-internals.h +++ b/dbus/dbus-internals.h @@ -237,7 +237,7 @@ _DBUS_DECLARE_GLOBAL_LOCK (message_handler); _DBUS_DECLARE_GLOBAL_LOCK (bus); _DBUS_DECLARE_GLOBAL_LOCK (shutdown_funcs); _DBUS_DECLARE_GLOBAL_LOCK (system_users); -#define _DBUS_N_GLOBAL_LOCKS (10) +#define _DBUS_N_GLOBAL_LOCKS (9) dbus_bool_t _dbus_threads_init_debug (void); diff --git a/doc/TODO b/doc/TODO index 843d4e15..4cd4eeb6 100644 --- a/doc/TODO +++ b/doc/TODO @@ -68,3 +68,11 @@ files; they have to be in the toplevel file. when loading a child file, we could just init its DBusLimits from the parent, then after parsing copy its DBusLimits back to the parent + + - when making a method call, if the call serial were globally unique, + we could forward the call serial along with any method calls made + as a result of the first method call, and allow reentrancy that was + strictly part of the call stack of said method call. But I don't + really see how to do this without making the user pass around the + call serial to all method calls all the time, or disallowing + async calls. -- cgit v1.2.1