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:cc:content-type :content-transfer-encoding; bh=0bBQgGG6PkxREDHNH6G0OYOs8Jbs5275rkN2YJVolGU=; b=VG0Ak2c1Dxe6P5rJZrLsnTbJ8aw16m9MKGT0v7uMWPu6wAduYDsiczdCMuNZ/SO3HD jgS1zN8Cn0WYV/HDYEuolleADC0WVUcCJs3TAwdLJLiUQxNbgukSSD6rVjHcbJ+U0s89 6OnsHs57DKc5dvLFz9hL3YilTPb2PhHa7RUI8= 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 :cc:content-type:content-transfer-encoding; b=m0IlFXj80YgneLM+onjPRa0Ir6EF2xZarLuOTbCQhhEuCw7gB2oTl6Md7dcMs/BeCX oCZZ9p5mWo5wR1v3T80fOQFQFULSQ3YpnQieJ+y/A0paB9SXEev+mBEu/gy/yBRL90+f uZp4wIJnTwyrVMmvk1XK4aPrwph8wXgO3lIxM= 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