o.fd.DBus.ReleaseName
Havoc Pennington
hp at redhat.com
Sat Mar 12 19:04:32 PST 2005
On Sat, 2005-03-12 at 15:16 -0500, Daniel Reed wrote:
> On 2005-03-12T14:41-0500, Colin Walters wrote:
> ) I'm curious too what you're using the method for.
>
> I have several long-running processes that choose to provide services and
> stop providing them dynamically, without disconnecting from the bus.
>
> Theoretically, one process can provide one service for a while, stop
> providing it, and have another process start providing it. This would
> normally only be possible if the first process disconnects. However, a
> process can provide multiple services at once, so disconnecting, even
> momentarily, can cause a brief outage.
I think we should have ReleaseName anyway, but a feature that may be
useful to you: you can set a name to be 'replaceable' such that if
someone else does RequestName, it will succeed and the previous owner
will lose the name.
Havoc
More information about the dbus
mailing list