On Wed, 4 Jul 2001, Ian Holsman wrote:

> OK..
> got a strange question...
>
> I'm looking at the shared memory functions (in unix), and am struggling
> to find out how one can attach to
> a shared memory segment already created by another process.
>
> I want to be able to create a a shared memory version of the  hash table
> which will be accessable all the processes
> but can't seem to see a method to do this, unless I create the shared
> mem before I fork and the shared memory variable is
> available .
>
> I can live with the above (creating the memory before I call fork) , but
> was wondering if there was a better way (mmap'ed files perhaps)

Currently you can't, because MM doesn't really support it.  We need to
re-write the shared memory code, but it doesn't make a lot of sense to do
that until the SMS stuff calms down.

Ryan

_____________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
Covalent Technologies                   [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to