Re: Detect new available names in bus
Lawrence D'Oliveiro <ldo-kC51rjc0cqs1dNLGKZg6taU/[email protected]>
| Newsgroups | gmane.comp.freedesktop.dbus |
|---|---|
| Organization | Geek Central |
| Message-ID | <[email protected]> |
On Fri, 18 Feb 2022 11:42:05 +0100, Ralf Habacker wrote: > Am 17.02.22 um 22:00 schrieb Lawrence D'Oliveiro: > >> On Thu, 17 Feb 2022 10:45:19 +0100, Ralf Habacker wrote: >> >>> but not visible on the bus: >> >> If they were to begin with, then the existing “NameOwnerChanged” >> signal would automatically provide notification of their coming and >> going, as for any other bus name. No need for any new >> (publicly-visible) mechanism. > > But can't this have a negative impact on existing applications that > use the current behavior to determine if a service is running or not ? Why would they need to? Isn’t the important point about D-Bus the fact that the service is available on the bus (or not), not that some process behind that service is or is not running? The latter is just an implementation matter.