Re: thread rant

From: Stephen C. Tweedie (
Date: Mon Sep 04 2000 - 09:23:47 EST


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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:17 EST