Re: thread rant

From: Stephen C. Tweedie (sct@redhat.com)
Date: Mon Sep 04 2000 - 09:23:47 EST


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/



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