[futurebasic] Re: [FB] Shared memory under X... It is possible.

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2002 : Group Archive : Group : All Groups

From: Heather Donahue <hdonahue@...>
Date: Tue, 23 Apr 2002 20:07:26 -0700
At 7:16 PM -0400 on 4/23/02, Edwards, Waverly wrote:


>Even under the protected memory model there *IS* a way to share
>memory.  I have an app that does this under OS9.  I would like to
>update it work under X.
>
>Does anyone have an understanding of this code?
>
>ftp://ftp.apple.com/developer/Sample_Code/Processes/SharedMemory.sit

Some one asked this same question a few weeks ago on the Apple 
student-developer list.

Anyway those shared memory calls aren't available to a standard 
Carbon app.  It's basically only available to a Mach-O application.

(There is a slim possibility that one could create a shared library 
that could encapsulate the Mach-O calls.  I'm not sure if it's even 
possible to call Mach-O from a Carbon app.)
-- 
Heather