summaryrefslogtreecommitdiffstats
path: root/bus/loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus/loop.c')
-rw-r--r--bus/loop.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bus/loop.c b/bus/loop.c
index 633ea42a..6c621177 100644
--- a/bus/loop.c
+++ b/bus/loop.c
@@ -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;