lkml.org 
[lkml]   [2000]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: thread rant
Ingo Molnar writes:
>
> On Sat, 2 Sep 2000, Alexander Viro wrote:
>
> > > what i mean is that i dont like the cleanup issues associated with SysV
> > > shared memory - eg. it can hang around even if all users have exited, so
> > > auto-cleanup of resources is not possible.
> >
> > 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.)

Huh? After attaching, if you "delete" a SHMID, it will be removed when
all processes referring to it unattach or die. Fairly similar
semantics.

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca
-
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/
\
 
 \ /
  Last update: 2005-03-22 12:38    [from the cache]
©2003-2011 Jasper Spaans