Detecting connection to service

Roman I Khimov roman at
Fri Jun 9 13:45:59 PDT 2006

9 июня 2006 23:42 | Havoc Pennington:
> Roman I Khimov wrote:
> > For example, we might have something sort of a shared library available
> > as a set D-Bus objects and want to load it with first app using it (and
> > that is possible today), but unload it when last application using it
> > will close it's D-Bus connection (so it doesn't waste precious memory).
> The simplest approach if it works is to just exit after a timeout (if
> not used for a couple minutes, then exit). If you set things up right
> dbus will autostart it again if someone tries to use it.

Yep, I've thought of that. Really the simplest solution, but it may hurt 
responsiveness. We'll see what's better for us, thanks anyway.

                            Roman                                              .o.
mailto: roman at                                              ..o
gpg --recv-keys 0xE5E055C3 --keyserver hkp://         ooo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the dbus mailing list