diff options
author | Havoc Pennington <hp@redhat.com> | 2003-08-30 00:26:00 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-08-30 00:26:00 +0000 |
commit | 85282c340b8fcd67c10bcf348b1c5d581f7dbd53 (patch) | |
tree | 625d6ea6b108d0b8cf03f925468bab331dd9af2c | |
parent | 8d38a2e2c5dc95de992c4d856ec1b0c0948bca3e (diff) |
2003-08-29 Havoc Pennington <hp@pobox.com>
* dbus/dbus-internals.h: fix _DBUS_N_GLOBAL_LOCKS
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | dbus/dbus-internals.h | 2 | ||||
-rw-r--r-- | doc/TODO | 8 |
3 files changed, 13 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2003-08-29 Havoc Pennington <hp@pobox.com> + + * dbus/dbus-internals.h: fix _DBUS_N_GLOBAL_LOCKS + 2003-08-28 Havoc Pennington <hp@pobox.com> 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); @@ -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. |