diff options
author | Havoc Pennington <hp@redhat.com> | 2003-01-06 01:08:14 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2003-01-06 01:08:14 +0000 |
commit | 96a9f80300b7794475a5451a60a07555ea3526be (patch) | |
tree | b70ac0b9f56edeebab51aa5389894c36cace2fe0 /bus/loop.c | |
parent | c92339de11a2f27198aee3b4242aa6fccc12a004 (diff) |
2003-01-05 Havoc Pennington <hp@pobox.com>
* bus/connection.c: implement routines for handling connections,
first thing is keeping a list of owned services on each connection
and setting up watches etc.
* bus/services.c: implement a mapping from service names to lists
of connections
* dbus/dbus-hash.c: add DBUS_HASH_POINTER
* dbus/dbus-threads.c (dbus_static_mutex_lock): add functions
to use static mutexes for global data
* dbus/dbus-connection.c (dbus_connection_set_data): add new
collection of functions to set/get application-specific data
on the DBusConnection.
Diffstat (limited to 'bus/loop.c')
-rw-r--r-- | bus/loop.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -173,7 +173,11 @@ bus_loop_run (void) initial_serial = watch_list_serial; i = 0; while (i < n_fds) - { + { + /* FIXME I think this "restart if we change the watches" + * approach could result in starving watches + * toward the end of the list. + */ if (initial_serial != watch_list_serial) goto next_iteration; |