Re: alternatives to signals like try/catch
Re: alternatives to signals like try/catch
- Subject: Re: alternatives to signals like try/catch
- From: "Quinn \"The Eskimo!\"" <email@hidden>
- Date: Thu, 7 Oct 2010 10:03:40 +0100
On 7 Oct 2010, at 05:49, Terry Lambert wrote:
> I'll agree with Mike that you're not going to be able to do this selectively based on the code you are currently running in, and that you'll interfere with other things that try to grab the exception port -- for example, all debuggers.
Programs like GDB and CrashReporter tend to sit on the task exception port (or the host exception port). If you're catching exceptions within a process, it's fairly safe to do so on the thread exception port. This is quite commonly used by alternatively runtime environments, notably Apple's own Java VM.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden