Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shutting down cleanly



On Wednesday, August 14, 2002, at 01:59 PM, email@hidden wrote:

Is there a limit to the amount of time you can spend in your notification callback on shutdown?

The max time for the entire shutdown is presently 30 seconds.

My callback is entered, and I start to clean my drive's cache, but before I can finish (after about 25 seconds), the system powers off. Is there a way I can prevent the system from powering off until after I've finished up?

Presently you have no way of saying "Hey wait until I'm done". You are pushing the 30 second limit. Although I believe you can abort the shutdown (I'll have to code this to make sure) there are certain cases that are unconditional. Low PB battery comes to mind.

Wayne

************************************
Wayne Flansburg, Worldwide Technical Support
Visit our PCI web page at:
http://developer.apple.com/hardware/pci/
************************************
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Shutting down cleanly (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.