On Fri, Apr 27, 2007 at 12:45:41PM +0300, Kimmo Hämäläinen wrote:
> On Fri, 2007-04-27 at 12:36 +0300, ext Kimmo Hämäläinen wrote:
> > I don't see any big remaining problem here...
> 
> Hey, now I remember what was the issue here! The problem was that if we
> restart stuff for crashed X server, then we cannot use dsmetool anymore
> to e.g. restart sapwood if it crashed (which is what happens now). So,
> we would need to lose these individual restarting magic (for clipboard,
> sapwood, matchbox, osso-connectivity-ui, hildon-input-methods, and
> hildon-desktop) in favor of the X server. That is, if you want to
> restart these processes after the X server crashed, it's possible, but
> then we would never know if clipboard, sapwood, matchbox, osso-
> connectivity-ui, HIM, or hildon-desktop crashed. The solution could be
> extending DSME's magical capabilities to support "groups" of processes
> that would all be restarted if something happens (X server crashes).

Wasn't there a patch for this back in April or something?  Anyway, I
don't see why it's not possible to do both: when the process crashes,
restart it, but when the X server crashes, restart the X server, give
it a couple of seconds, then restart all the desktop processes.  Indeed,
this arguably happens automatically.  They die when they lose the
connection to the display, so when the X server's gone, you don't
restart them immediately; you put them on a queue and traverse the queue
when the server's accepting connections again.

Unless I'm missing something?

Cheers,
Daniel

Attachment: signature.asc
Description: Digital signature

_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to