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