| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Message: 7
Date: Sun, 9 Dec 2001 23:32:29 -0800
Subject: Re: How to get scripting to work without NSApplication
Cc: email@hidden
To: Scott Anguish <email@hidden>
From: Jason Bobier <email@hidden>
This is a background damon running as root. I only need to handle the
AEQuit event so that I can cleanup our sdk before the damon is
terminated.
Currently I am catching SIGTERM and doing the cleanup there. I was told
that this has issues though because cocoa can't handle being called from
signal handlers.
One thing that I did just notice though. NSNotificationCenter is
thread-safe and re-entrant. Does this mean that I could send a
notification to myself from a signal handler? If so, that would do the
job.
Thanx,
Jason
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.