[interfacekit] Re: Shutdown Process
- From: "DarkWyrm" <bpmagic@xxxxxxxxxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Wed, 06 Jul 2005 18:25:09 -0400 EDT
> OK, you have a point there.
>
> So the shutdown process would work like this:
>
> 1) Terminate non-background user applications one after the other.
>
> 2) Terminate non-background system applications one after the other.
> This
> would basically be Deskbar and Tracker (ATM I just mark all that live
> in
> the /boot/beos/system (except the servers) as system app). This is
> the
> point of no return; i.e. when starting this phase, the "Cancel
> Shutdown"
> button is being disabled and apps requesting cancelation will be
> assassinated viciously.
>
> 3) Broadcast shutdown request to all background apps (save the vital
> servers (app, input, registrar)) and wait until they're gone
> (starting to
> kill them after a timeout).
Why is there a point of no return? How much effort would it take to
allow cancellation of shutdown up to when _kern_shutdown() is called?
One thing that I have done (and I'm pretty sure others have) is
accidentally hit 'Reboot' or 'Shutdown' in the Deskbar. Couldn't a
script be called which checks to see if each nonvital server is running
and start it back up if it isn't? It certainly would be a nice thing to
have, if nothing else.
--DW
- Follow-Ups:
- [interfacekit] Re: Shutdown Process
- From: Axel Dörfler
- References:
- [interfacekit] Re: Shutdown Process
- From: Ingo Weinhold
Other related posts:
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- » [interfacekit] Re: Shutdown Process
- [interfacekit] Re: Shutdown Process
- From: Axel Dörfler
- [interfacekit] Re: Shutdown Process
- From: Ingo Weinhold