Re: Alternative to bootstrap_register?
Re: Alternative to bootstrap_register?
- Subject: Re: Alternative to bootstrap_register?
- From: Damien Sorresso <email@hidden>
- Date: Fri, 20 Nov 2009 10:30:11 -0800
On Nov 20, 2009, at 6:43 AM, Uli Kusterer wrote:
> On 19.11.2009, at 18:31, Damien Sorresso wrote:
>> launchd doesn't provide support for multiple job instances currently. We are very aware of this need, however, so don't take this to mean that we see that use case as outside of our model.
>>
>> For now though, you can sort of achieve this by using the ServiceManagement API (in Snow Leopard) to submit unique-ified jobs to launchd on-the-fly.
>
> And on 10.4 and 10.5?
You could use the undocumented (but public) launchd API in launch.h, but we don't really like people using it for anything but checking in to get socket file descriptors. That's why we introduced ServiceManagement.
--
Damien Sorresso
BSD Engineering
Apple Inc.
_______________________________________________
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