Skip navigation.
 
mlRe: Best way to catch signals in a Cocoa app
FROM : Cameron Hayne
DATE : Wed Apr 06 02:17:32 2005

On 11/16/04 2:30 AM, "Greg Parker" <<email_removed>> 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_removed>)
Hayne of Tintagel

Related mailsAuthorDate
mlBest way to catch signals in a Cocoa app John Clayton Nov 14, 23:48
mlRe: Best way to catch signals in a Cocoa app (Or should you?) John Clayton Nov 16, 00:46
mlRe: Best way to catch signals in a Cocoa app (Or should you?) Frank Midgley Nov 16, 01:24
mlRe: Best way to catch signals in a Cocoa app Cameron Hayne Nov 16, 02:19
mlRe: Best way to catch signals in a Cocoa app John Clayton Nov 16, 03:55
mlRe: Best way to catch signals in a Cocoa app Greg Parker Nov 16, 08:30
mlRe: Best way to catch signals in a Cocoa app John Clayton Nov 16, 15:47
mlRe: Best way to catch signals in a Cocoa app Cameron Hayne Apr 6, 02:17
mlRe: Best way to catch signals in a Cocoa app Dan Saul Apr 6, 03:11