• 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: Uli Kusterer <email@hidden>
  • Date: Wed, 18 Nov 2009 16:02:11 +0100

On 17.11.2009, at 20:27, Damien Sorresso wrote:
>> Can you expand on what you're trying to do?

We have a 32 bit application that needs to create a 64 bit process to do processor intensive tasks and communicate with the main application typically hundreds of times per second, depending on the number of tasks. Passing shared memory objects and rights is also involved. Performance is critical, AppleEvents, distributed objects etc. seem too slow.

> The recommended replacement is to have two launchd jobs, one which advertises a service with a well-known name in the bootstrap namespace.

We don't have a well-known name, that would have been the case for suggestion #2 in bootstrap.h, however this is not the case. In this case the name is dynamic and has no general purpose use for the system, in other words scenario #3 applies.

To rephrase the original question for clarification:

Is recommendation #3 in bootstrap.h regarding "sending a Mach send-right directly" technically accurate and valid? If yes, how does it envision sending a Mach send-right directly given the very fundamental principles and security constraints of Mach IPC?

Cheers,
-- Uli Kusterer
"The witnesses of TeachText are everywhere..."



 _______________________________________________
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: Godfrey van der Linden <email@hidden>
    • Re: Alternative to bootstrap_register?
      • From: Damien Sorresso <email@hidden>
References: 
 >Alternative to bootstrap_register? (From: Uli Kusterer <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Damien Sorresso <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