[maemo-developers] dbus overhead of unnecessary signals

From: Ross Burton ross at burtonini.com
Date: Mon Dec 10 19:52:35 EET 2007
On Mon, 2007-12-10 at 12:19 -0500, Austin Che wrote:
>     Sending signals to unknown targets seems to me to be a common
>     paradigm in the dbus world but I have not seen a dbus program that
>     avoids sending signals that no one cares about. Why is this?  Is
>     there an efficient way to avoid unnecessary dbus signals that
>     doesn't require writing lots of code? It seems ideal if the event
>     daemon could just ask the bus daemon or be notified by it when
>     someone is listening for a particular signal.

This would indeed be a useful optimisation, I suggest that you contact
the dbus mailing list to work out some form of notification so that
clients can ask to be told when there are listeners for a particular
signal.

Ross
-- 
Ross Burton                                 mail: ross at burtonini.com
                                          jabber: ross at burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF




More information about the maemo-developers mailing list