Re: launchd daemon, spawning children?
Re: launchd daemon, spawning children?
- Subject: Re: launchd daemon, spawning children?
- From: Garth Cummings <email@hidden>
- Date: Thu, 25 Sep 2008 14:16:12 -0700
Hi Mario,
On Sep 25, 2008, at 2:09 PM, Mario Emmenlauer wrote:
Hi Garth,
Garth Cummings wrote:
On Sep 25, 2008, at 1:12 PM, Mario Emmenlauer wrote:
Searching apple.com for posix_spawn() lists almost exclusively the
manpages of the
functions, no more.
A good place to start is the UNIX 03 spec itself:
<http://www.unix.org/single_unix_specification/>
That's indeed a good reference, thanks. For getting started it would
be
good to have additionally something with more overview, like the
technotes.
The technotes on Carbon and launchd I found extremely good. They
specify
nicely what the design-idea of Mac OS is.
For the fork-problem, however, my previous reference
http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/Articles/LaunchOnDemandDaemons.html
even notes:
[...] Although many of the preceding behaviors may be standard
tasks for
daemons to perform, they are not recommended when running under
launchd.
[...]
But it leaves aside how the standard tasks are to be performed on the
Mac, then :-D
Have you read Technical Note TN2083 "Daemons and Agents"?
<http://developer.apple.com/technotes/tn2005/tn2083.html>
Cheers,
Mario
--gc
____________________________________________________________________
Garth Cummings email@hidden
Sr. Software Engineer
Apple Developer Technical Support
<http://developer.apple.com/technicalsupport>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden