Suspend and NetworkManager

Richard Hughes hughsient at gmail.com
Fri Jan 13 00:59:05 PST 2006


On Thu, 2006-01-12 at 17:31 -0500, David Zeuthen wrote:
> On Fri, 2006-01-13 at 08:12 +1000, Nigel Cunningham wrote:
> > >  - NetworkManager to shut networking down
> > >  - IRC / IM to log properly off
> > >  - Nautilus to finish copying stuff to hotpluggable / removable drives
> > >  - Abiword to quick-save all documents before letting go.
> > 
> > All those examples delay the suspend - I can fully understand and agree with 
> > them, but how about the ACK/NAK bit? That was what caused me to stumble.
> 
> Oh, yea.. well.. maybe I wasn't clear.. I didn't mean an application
> should be able to fully stop it.. only hint g-p-m that it needs more
> time. It's up to g-p-m to decide whether or how long it decides to honor
> the NAK... Hence the talk about the timeouts...
> 
> Btw, this is all me rambling.. and I do ramble a lot :-) ... we all need
> to talk Richard into doing this as it's his call as the g-p-m
> maintainer...

Sorry to come into the conversation late, been really busy.

With the suspend stuff, my only concern is: How long would an
application have to delay the shutdown for? I mean if Abiword takes 1.05
seconds to quicksave, and n-m takes about 0.2 seconds to disable the
card, then why can't we just give the applications 2 seconds to do their
thing, rather than asking all of them to define when they are done?
Isn't this what Microsoft is doing with Vista?

Richard.



More information about the hal mailing list