| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Yep - it sounds like catching the signals is the best way to do things, as Jeff previously noted the order of atexit calls is unpredictable and may not help avoid the 'wedged' state.Andrew Kimpton wrote:
In order to avoid this sort of thing should I make sure to install some sort of 'atexit' handler to release hog mode before the app quits ? That won't protect against crashes but would at least protect against impatient 'ctrl-c' usage.
If I were you, I'd install a signal handler to catch ^C and ^\ and so forth and try to shut down gracefully, assuming this is an option for you.
Andrew 8-)
_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/coreaudio-api/email@hidden
| References: | |
| >Getting Default Output Device gives a strange answer (From: Andrew Kimpton <email@hidden>) | |
| >Re: Getting Default Output Device gives a strange answer (From: Jeff Moore <email@hidden>) | |
| >Re: Getting Default Output Device gives a strange answer (From: Andrew Kimpton <email@hidden>) | |
| >Re: Getting Default Output Device gives a strange answer (From: Jeff Moore <email@hidden>) | |
| >Re: Getting Default Output Device gives a strange answer (From: Andrew Kimpton <email@hidden>) | |
| >Re: Getting Default Output Device gives a strange answer (From: Steve Checkoway <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.