re Shared Memory

New Message Reply Date view Thread view Subject view Author view

From: George Koharchik (georgek++at++skopen.rsc.raytheon.com)
Date: 02/28/2000 05:08:44


Hi Mike,
 
   I don't have any info on updates. You may not need to wait though....

   The function that gets a pointer to the arena returns NULL.
pfMalloc & friends will allocate memory off the heap when
given a NULL pointer to the arena. Since you're already limited
to running in a single process, this will work. (In my case I just
conditionalized a check to make sure that the arena wasn't NULL.)
If you need to communicate to another program using shared memory,
you might think about mmap-ing a file. (Note that since Linux mmap-ed
regions don't autogrow, you'll have to size the file before you mmap it.)

hth,

gpk
                      -----------------

 From: Phoneix <phoneix++at++sympatico.ca>
 Date: Sun, 27 Feb 2000 14:43:57 -0800
 Subject: Shared Memory

Hi there!

I was just wondering if any updates have occurred with the shared arena
functionality under linux. Unfortunately I just discovered that it is
not supported, which makes my project a little more difficult.

any info would be appreciated

Thanks in Advance
Mike


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Feb 28 2000 - 05:08:54 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.