On 23 Jul '08, at 2:20 PM, Nick Zitzmann wrote:
Calling ObjC methods in a signal handler is not a good idea: <http://lists.apple.com/archives/Cocoa-dev/2001/Dec/msg00159.html >
You can work around this by using a kqueue to receive the signal, creating a file descriptor to listen on the kqueue, and then using an NSSocket to get a callback on the runloop after the kqueue fires. (Sorry that sounds convoluted. I've implemented this in the past, but the code is still inside Apple's firewall, where I don't have access to it anymore, so I can't look up the details.)
—Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list ([email protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
