• 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: Damien Sorresso <email@hidden>
  • Date: Wed, 18 Nov 2009 15:18:50 -0800

On Nov 18, 2009, at 1:59 PM, Godfrey van der Linden wrote:
> Sorry for the repost, just occurred to me.
>
> Since you are launching a server process directly, have you considered the typical unix solution of using pipes to communicate with the child. See popen(3), which is a single API that that allows a parent to create a child and connect to it.


We're trying to discourage projects from spawning their own child processes. I haven't seen any reason the original poster couldn't just make the proposed child process into an on-demand launchd job that registers a MachService.
--
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

  • Follow-Ups:
    • Re: Alternative to bootstrap_register?
      • From: Jean-Daniel Dupas <email@hidden>
    • Re: Alternative to bootstrap_register?
      • From: Alastair Houghton <email@hidden>
References: 
 >Alternative to bootstrap_register? (From: Uli Kusterer <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Damien Sorresso <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Uli Kusterer <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Godfrey van der Linden <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Godfrey van der Linden <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