• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Alternative to bootstrap_register?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternative to bootstrap_register?


  • Subject: Re: Alternative to bootstrap_register?
  • From: Alastair Houghton <email@hidden>
  • Date: Wed, 18 Nov 2009 16:15:33 +0000

On 18 Nov 2009, at 15:58, Jean-Daniel Dupas wrote:

> Yes, but your server has to checkin before the client can lookup, else the lookup will failed. It work great in your example but this cannot easily be done when the client process is the one that launches the server process.
> That's where bootstrap_register was really useful has using this function, a client was able to create the service and lookup without having to wait the server readiness.

Sure, though even in that case it's fairly easy to arrange for the child to indicate its readiness through some other mechanism (distributed notifications via notify(3), for instance).  I'm slightly wary of the NSMachBootstrapService method because of its reliance on the bootstrap_register() deprecated API/SPI, and launchd is only easy to use that way on 10.6, right? Also, I'm not sure launchd supports Mach ports on 10.4, if that's an issue.

Anyway, I think we've probably covered every possibility here.

Kind regards,

Alastair.

--
http://alastairs-place.net



 _______________________________________________
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

References: 
 >Alternative to bootstrap_register? (From: Uli Kusterer <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Uli Kusterer <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Alastair Houghton <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: Alternative to bootstrap_register?
  • Next by Date: Re: Alternative to bootstrap_register?
  • Previous by thread: Re: Alternative to bootstrap_register?
  • Next by thread: Re: Alternative to bootstrap_register?
  • Index(es):
    • Date
    • Thread