• 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 (Or should you?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to catch signals in a Cocoa app (Or should you?)


  • Subject: Re: Best way to catch signals in a Cocoa app (Or should you?)
  • From: Frank Midgley <email@hidden>
  • Date: Mon, 15 Nov 2004 18:24:53 -0600

On Nov 15, 2004, at 5:46PM, John Clayton wrote:

On Nov 14, 2004, at 5:48 PM, John Clayton 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.e. where is the proper place to implement them, and what is the correct procedure for getting some object methods called (I know from this list that you can't call ObjC code directly from a signal handler). Any help is appreciated.

Thought I'd try this one more time. Any takers?

http://search.lists.apple.com/? q=signal+handling&cmd=Search!&form=extended&m=all&ps=10&fmt=long&wm=wr d&wf=2221&sp=1&ul=cocoa-dev


-Frank

------------------------------------
Frank M. Midgley
email@hidden
http://homepage.mac.com/knarf/

_______________________________________________
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: 
 >Best way to catch signals in a Cocoa app (From: John Clayton <email@hidden>)
 >Re: Best way to catch signals in a Cocoa app (Or should you?) (From: John Clayton <email@hidden>)

  • Prev by Date: Re: Focus ring changed
  • Next by Date: A framework for parsing HTML?
  • Previous by thread: Re: Best way to catch signals in a Cocoa app (Or should you?)
  • Next by thread: Re: Best way to catch signals in a Cocoa app
  • Index(es):
    • Date
    • Thread