Re: c++ exceptions
Re: c++ exceptions
- Subject: Re: c++ exceptions
- From: Joel Reymont <email@hidden>
- Date: Tue, 16 Mar 2010 16:16:27 +0000
On Mar 16, 2010, at 4:07 PM, Kevin Van Vechten wrote:
> Simply don't do it. ;-) Avoid the use of exceptions within any callback functions you provide,
Callbacks are very frequent, e.g. with USB notifications of devices added and removed.
> or be sure to catch all possible exceptions within the callback before returning to prevent them from being thrown across the API boundary.
Bulletproof examples welcome! Apple's audio and video examples use C++ and thus exceptions so I'm looking at those as well.
Thanks, Joel
---
http://es.linkedin.com/in/joelreymont
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden