From: Burkhard Schultheis <bschultheis@tde-online.de>
Subject: Re: Problem with shared memory
Date: 1999/07/26 [thread overview]
Message-ID: <379C3189.8A2EBC78@tde-online.de> (raw)
In-Reply-To: 37973D1D.F75A664A@tde-online.de
I've found it by myself. I have to detach the shared memory first. Then
it is OK!
Burkhard Schultheis schrieb:
>
> We have ported our software from AIX to DEC UNIX and have no a big
> problem with shared memory.
> One process creates the shared memory and writes to and reads from it.
> Other processes only read from the shared memory. Sometimes the writing
> process must throw away the shared memory and must get a new one with
> other size. It removes the memory with the call
> err = shmctl (shmid, IPC_RMID, NULL);
> err is 0 after this call, but the shared memory segment still does
> exist, only the key ist set to 0! Under AIX I can resize the shared
> memory and have no problems with it. What can I do instead? Is it
> possible to resize shared memory as with AIX?
> Thank you in advance!
> --
> Burkhard Schultheis
> Tele Data Electronic
> Wagnerstr. 10
> D-76448 Durmersheim
prev parent reply other threads:[~1999-07-26 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-07-22 4:00 Problem with shared memory Burkhard Schultheis
1999-07-26 4:00 ` Burkhard Schultheis [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox