From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,25c71c9de984510f,start X-Google-Attributes: gidfee84,public From: Burkhard Schultheis Subject: Problem with shared memory Date: 1999/07/22 Message-ID: <37973D1D.F75A664A@tde-online.de>#1/1 X-Deja-AN: 504045419 Content-Transfer-Encoding: 7bit Organization: WEB Internet Services Systemhaus GmbH, Karlsruhe, Germany X-Accept-Language: de,en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 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