• 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: Best way to catch signals in a Cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to catch signals in a Cocoa app


  • Subject: Re: Best way to catch signals in a Cocoa app
  • From: Dan Saul <email@hidden>
  • Date: Tue, 5 Apr 2005 20:11:35 -0500

Just a small question, would this be a way to catch a crash?

On Apr 5, 2005 7:17 PM, Cameron Hayne <email@hidden> wrote:
> On 11/16/04 2:30 AM, "Greg Parker" <email@hidden> wrote:
>
> > This sample program calls Objective-C methods from inside a signal
> > handler. Don't do that. If you do, your program may hang or crash
> > unpredictably.
>
> I revised my sample program "TestSignals" so that it just sets a global
> variable and then later reads that variable periodically via a method called
> from an NSTimer.
> http://hayne.net/MacDev/TestSignals/
>
> --
> Cameron Hayne (email@hidden)
> Hayne of Tintagel
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Cocoa-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Best way to catch signals in a Cocoa app (From: Cameron Hayne <email@hidden>)

  • Prev by Date: Re: ADC Core Data article
  • Next by Date: Re: Finding out of bounds error
  • Previous by thread: Re: Best way to catch signals in a Cocoa app
  • Next by thread: Setting typing attributes in NSTextView
  • Index(es):
    • Date
    • Thread