Re: Best way to catch signals in a Cocoa app
Re: Best way to catch signals in a Cocoa app
- Subject: Re: Best way to catch signals in a Cocoa app
- From: Cameron Hayne <email@hidden>
- Date: Tue, 05 Apr 2005 20:17:32 -0400
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