Article View: comp.unix
Article #708Re: System V IPC has no REMOVE_ON_EXIT bit
From: Phil Ronzone
Date: Mon, 12 Jun 1989 07:26
Date: Mon, 12 Jun 1989 07:26
22 lines
1665 bytes
1665 bytes
In article <1151@altos86.UUCP> clp@altos86.Altos.COM (Chuck L. Peterson) writes:
>
>Am I missing something incredibly obvious, or does System V
>IPC lack a bit which indicates that the shared memory, semaphore, or
>message should be removed automatically when my process exits?
>This would be an ultra-cool feature if I could ever figure out how
>to do it.
Yep - it don't have dat feature!
They all share some common code and data structures. Conceptually, semaphores
and IPC and shared memory are generally utilized by more than one process
(which may not even be running at the same time) and hence it wasn't thought
particularily valuable to have a "remove me at exit time" flag.
+-----------------------------------------------------------------------------+
|Philip K. Ronzone, Apple Computer, 10440 Bubb Rd, MS 58A, Cupertino, CA 95014|
|{amdahl,decwrl,sun,voder,nsc,mtxinu,dual,unisoft,...}!apple!phil |
+-----------------------------------------+-----------------------------------+
| All "IMHOs" disclaimed and copyrighted. | Self defense is a human right ... |
+-----------------------------------------+-----------------------------------+
Technical Details
Message-ID:
<1213@altos86.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!versatc!icldata!altos86!dtynanReferences:
<1151@altos86.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!versatc!icldata!altos86!dtynan From: phil@Apple.COM (Phil Ronzone) Newsgroups: comp.unix Subject: Re: System V IPC has no REMOVE_ON_EXIT bit Message-ID: <1213@altos86.UUCP> Date: 12 Jun 89 07:26:48 GMT References: <1151@altos86.UUCP> Sender: dtynan@Altos.COM Reply-To: apple!phil Organization: Apple Computer A/UX Group Lines: 22 Approved: dtynan@zorba.Tynan.COM