• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Exiting non-POSIX threads?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exiting non-POSIX threads?


  • Subject: Re: Exiting non-POSIX threads?
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 30 Jul 2013 10:43:15 -0700

On Jul 30, 2013, at 10:26 , Graham Cox <email@hidden> wrote:

> How often have you encountered an unexpected exception from some low-level code you don't own under circumstances you can't control? If your app crashed every time you'd soon have a reputation for unreliability that is in all probability undeserved. On balance it's better to carry on with some minor glitch than "quit unexpectedly".

Surely the problem with this perspective is that the uncaught exception results in an abrupt transfer of control from the point of the exception back to (approximately) [NSApplication sendEvent:]?

If you don't own the low-level code where the exception was thrown, you can have no confidence that non-stack data structures being maintained by that code -- along with all of the intermediate levels of calling code -- are in any usable state.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Exiting non-POSIX threads?
      • From: Graham Cox <email@hidden>
References: 
 >Exiting non-POSIX threads? (From: Oleg Krupnov <email@hidden>)
 >Re: Exiting non-POSIX threads? (From: Oleg Krupnov <email@hidden>)
 >Re: Exiting non-POSIX threads? (From: Ken Thomases <email@hidden>)
 >Re: Exiting non-POSIX threads? (From: Oleg Krupnov <email@hidden>)
 >Re: Exiting non-POSIX threads? (From: Ken Thomases <email@hidden>)
 >Re: Exiting non-POSIX threads? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Getting a splash screen to show
  • Next by Date: Re: Mixing Obj-C and C "methods"
  • Previous by thread: Re: Exiting non-POSIX threads?
  • Next by thread: Re: Exiting non-POSIX threads?
  • Index(es):
    • Date
    • Thread