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: Mon, 15 Nov 2004 20:19:13 -0500
On 11/14/04 5:48 PM, "John Clayton" <email@hidden> wrote:
> Let's say you need to do some cleanup (like terminating some spawned
> tasks) no matter how your app is quit. So even if someone kills the
> process from a terminal, the cleanup still happens. I assume using
> signal handlers are the only way to get access to these events (because
> handling uncaught exceptions didn't seem to work), but how does one
> integrate these into a Cocoa app
I wrote a sample Cocoa application specifically for demonstrating how to
catch signals in a Cocoa app:
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