[MPlayer-dev-eng] [PATCH] VF Overlay

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Feb 28 16:36:54 CET 2010


On Sun, Feb 28, 2010 at 10:11:40AM -0500, Jason Tackaberry wrote:
> > (though I think that the atexit is not really needed in any case,
> > the kernel should delete it if nobody uses it anymore - unfortunately
> > I don't know how to verify that).
> 
> I don't know how to verify it either.  I know that ipcs lists the
> leftover segment, but nattach=0, so it's possible that while the entry
> is there it's not actually using up any memory for the buffer.

Uh, why don't you do IPC_RMID right after shmat?
Then the shared memory will be deleted as soon as both MPlayer and application
detach...



More information about the MPlayer-dev-eng mailing list