Messages in this thread |  | | Date | Mon, 4 Sep 2000 15:23:47 +0100 | From | "Stephen C. Tweedie" <> | Subject | Re: thread rant |
| |
Hi,
On Sat, Sep 02, 2000 at 09:41:03PM +0200, Ingo Molnar wrote: > > On Sat, 2 Sep 2000, Alexander Viro wrote: > > > unlink() and the last munmap()/exit() will get rid of it... > > yep - and this isnt possible with traditional SysV shared memory, and isnt > possible with traditional SysV semaphores. (forget my filesystem comment, > it's a thinko.)
Using the SysV APIs, you can do this for shared memory: do an IPC_RMID and the segment will disappear on the last detach/exit. But yes, you can't do the same for SysV semaphores.
--Stephen - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |