Re: DBUS features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-01-26 at 16:38 -0700, Trever L. Adams wrote:
> 
> Well, I would like this to be via dbus if possible, since everything
> seems to be using it. However, I don't want a generic list. I want
> programs to know they are critical and to have to acknowledge they are
> still alive (from time to time up2date locks up for example).
> 
> Some sort of emit a message or respond to a check message. Maybe, if
> this is like multicast with dbus... shut down scripts ask "Anyone
> important alive" and the program respond "Sure, my name is up2date, pid
> blah blah blah, doing blah blah blah"
> 
> When no one responds, shutdown continues.
> 
> Sound good or am I foolish?

If a process just exits, then you will know that via dbus (because the
kernel will close the socket and that generates an event)

If it's locked up you'd have to ping it to find out, yes

Havoc



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux