From: Havoc Pennington Date: Sat, 30 Aug 2003 00:26:00 +0000 (+0000) Subject: 2003-08-29 Havoc Pennington X-Git-Tag: dbus-0.20~37^2~36 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=85282c340b8fcd67c10bcf348b1c5d581f7dbd53;p=thirdparty%2Fdbus.git 2003-08-29 Havoc Pennington * dbus/dbus-internals.h: fix _DBUS_N_GLOBAL_LOCKS --- diff --git a/ChangeLog b/ChangeLog index 6aa367600..489b1d51d 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 1c0f73143..a0c5b194d 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 843d4e15f..4cd4eeb6a 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.