Shared Memory in BSD4.3 is lacking?
Richard Tobin
richard at aiva.ed.ac.uk
Thu Mar 3 09:25:31 AEST 1988
In article <14020007 at hpisod2.HP.COM> decot at hpisod2.HP.COM (Dave Decot) writes:
>There should be a way to cause private shared memory segments
>to vanish upon termination of a process or process group.
Is this not when happens when you do
shmctl(shmid, IPC_RMID, 0);
?
I know it's not what the documentation says, but it's what it seems to do
(at least in Sun's implementation of system V shared memory).
--
Richard Tobin, JANET: R.Tobin at uk.ac.ed
AI Applications Institute, ARPA: R.Tobin%uk.ac.ed at nss.cs.ucl.ac.uk
Edinburgh University. UUCP: ...!ukc!ed.ac.uk!R.Tobin
More information about the Comp.unix.wizards
mailing list