• 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
Responding to kill signals with the run loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Responding to kill signals with the run loop


  • Subject: Responding to kill signals with the run loop
  • From: Jamie Hardt <email@hidden>
  • Date: Wed, 3 Mar 2010 17:21:53 -0800

Is there a straightforward way, or a way through the Cocoa API, to treat signals like SIGTERM and SIGHUP as run loop sources and to handle them as events in the run loop?  Right now I install signal handlers during initialization and these just set flags that are tested on every spin thru the run loop, but this isn't perfect._______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Responding to kill signals with the run loop
      • From: Dave Keck <email@hidden>
  • Prev by Date: Re: Click in Table [More Pilot Error]
  • Next by Date: Re: Responding to kill signals with the run loop
  • Previous by thread: Re: Click in Table [More Pilot Error]
  • Next by thread: Re: Responding to kill signals with the run loop
  • Index(es):
    • Date
    • Thread