Responding to kill signals with the run loop
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