Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Alternative to bootstrap_register?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternative to bootstrap_register?



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

References: 
 >Alternative to bootstrap_register? (From: Uli Kusterer <email@hidden>)
 >Re: Alternative to bootstrap_register? (From: Damien Sorresso <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.