Re: UNIX signals
Re: UNIX signals
- Subject: Re: UNIX signals
- From: Andrew Farmer <email@hidden>
- Date: Tue, 16 Dec 2008 18:48:29 -0800
On 16 Dec 08, at 18:40, Chris Idou wrote:
Ok. BTW, what happens exactly when you try and shut down a Mac? On a
UNIX system all the processes are sent SIGINT or something, at which
point they should enter a controlled shutdown procedure.
The OS X desktop uses Apple Events to send shutdown requests to
applications - unlike signals, these can be responded to in-band. In a
Cocoa application, this shows up as an applicationShouldTerminate:
message to the NSApplication delegate.
_______________________________________________
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