• 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: UNIX signals
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UNIX signals


  • Subject: Re: UNIX signals
  • From: Ken Thomases <email@hidden>
  • Date: Wed, 17 Dec 2008 03:09:44 -0600

On Dec 16, 2008, at 9:22 PM, Michael Ash wrote:

On Tue, Dec 16, 2008 at 8:02 PM, Chris Idou <email@hidden> wrote:
Is there any Cocoa and/or Carbon interface to UNIX signals?

Nope. It's pretty easy to set up a signal handler that can call back to a Cocoa/CoreFoundation runloop though, by having it write to a pipe or mach port which the runloop monitors.

However it's rarely useful to monitor signals in GUI apps, so you may
not want to actually do this.

Not to muddy the waters, but I believe that when NSExceptionHandler refers to "system" or "system-level" exceptions, it's referring to Mach exceptions and signals. The docs could be clearer, though.


Cheers,
Ken

_______________________________________________

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


References: 
 >UNIX signals (From: Chris Idou <email@hidden>)
 >Re: UNIX signals (From: "Michael Ash" <email@hidden>)

  • Prev by Date: Re: How to make a CALayer dont get blur when rotating.
  • Next by Date: Re: Sublclassing NSThread
  • Previous by thread: Re: UNIX signals
  • Next by thread: Re: UNIX signals
  • Index(es):
    • Date
    • Thread