site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=dulWeHEw7IIy8QY6jKSuAFb7fHISR6x4ucvK8LJaoRI=; b=Ah3i6LRqLOwDocoDkj4bBBN3lscRSxwEH+ly58uO8fhGUuqPLSS3fTzLxJyE0intaH NnVJhNlnhj7YK3AJQKUIvU1vNAyKgPq5G8HIJTEJt43Af/PHm5Jg5pc71LMSN5of8HHJ wWWMCAzDtFtbed5+OhXuLA18lPX0r+/mjypfc= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=sfysdZHPv2uqRnPbZGjLvI1DIs0wfa6fJtpf+cNlHKvgeEjYptQO0ioHNEOBWpSalI 4xO9IeMQiJbCW91pQ7SWNbofuYLD1CnxDrac+TNSSbuEU8NaUuzAKdBowJ0HrHELWe/q DEHLz/XlJHZAH/ZsYSRNEXzMM38rvEOZseXqk= Finally I got it. First I removed the carbon framework and using coreservices framawork for some APIs. For remaining carbon framework APIs, for temporary I commented them. Now it is not getting terminated. Now I am looking for replacement of those APIs or some other ways to implements these functionalityies :) Thanks a lot. Regards rksinghal On Wed, Feb 4, 2009 at 1:55 PM, Rakesh Singhal <rakesh.singhal@gmail.com> wrote:
Thanks. I am using carbon farmework that is not daemon safe and may be due to this I am facing problem. Still, I am confused about one thing. I can start the daemon in 2 different ways, one is using "launchctl load" command and another is rebooting the system.
1. When I use "launchctl load" command, it works fine but if I logout then daemon process first gets the quit event and then it gets killed. 2. When I reboot the system and if I logout it does not get any signals/event to quit/kill. It works fine.
I know, Marc has already written about it that In one case your daemon may be connecting to the bootstrap window server service and in the other case connecting to the login session's window server service.
System is 10.4.11 ppc.
Is it possible to make it work either without removing carbon framework or without splitting in two processes? Please advice me.
Regards rksinghal
On Wed, Feb 4, 2009 at 4:40 AM, Shawn Erickson <shawnce@gmail.com> wrote:
On Tue, Feb 3, 2009 at 9:37 AM, Rakesh Singhal <rakesh.singhal@gmail.com> wrote:
I am using carbon framework which is not daemon-safe, others are daemon safe.
You cannot reliably run this process as a launch daemon as a result of using Carbon. You will have to run it as an launch agent for aqua sessions (or login item to support "legacy" OS versions).... or be rewritten to use only daemon safe frameworks/libraries.
-Shawn
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Rakesh Singhal