Messages in this thread |  | | Date | Sat, 2 Sep 2000 13:45:52 -0600 | From | Richard Gooch <> | Subject | Re: 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/
|  |