On 5/16/05 1:18 PM, Godfrey van der Linden at email@hidden wrote:
> 1> mach_init: This is controlled through the /etc/mach_init.d and
> mach_init_per_user.d directories. The general model is that
> mach_init is configured with a set of 'named' ports that you can get
> access to through the bootstrap name space. mach_init starts
> listening on a port and if it finds a message it arranges for your
> process to launch with the message still in its queue. As you can
> see this is pretty cool, the problem is that you have to get the port
> name into the kernel. The easiest way I can think of doing this is
> to use the client daemon to do a io_async_method_scalarI_scalarO
> which passes in a send right. There is a little bit of research that
> has to be done about how you are going to keep a port reference once
> the user client shutsdown.
Of course, from:
<http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/
Articles/CustomLogin.html>
Important: The use of boostrap daemons is deprecated and should be avoided
entirely. Launching of daemons through this process is currently limited to
some Apple-specific programs and may be removed or eliminated in a future
release of Mac OS X. If you need to launch daemons, use launchd. If you need
to launch daemons on versions of Mac OS X prior to 10.4, use a startup item.
This is deprecating things back in time. We made this facility for you to
use, told you to use it, but now, you shouldn't have used it then.
Later,
--
David Rehring Psychos do not explode when light hits
VP of Research and Development them, no matter how crazy they are...
Atimi Software, Inc.
www.atimi.com And totally insane guy!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden