[vlc-devel] [PATCH] VLM and VOD deadlock

Sébastien Escudier sebastien-devel at celeos.eu
Wed May 20 17:29:30 CEST 2009

Quoting Rémi Denis-Courmont <remi at remlab.net>:
> > It should be applied after this one
> > http://mailman.videolan.org/pipermail/vlc-devel/2009-May/059866.html [Free
> > rtsp commands on close]
> How do you know that the item is deleted now? What happens if you're exiting
> VLC while the item is being asynchronously destroyed?

Are you commenting on the deadlock patch or the other one ?
what is the item for you ?

If vlc exit then rstp.c:close() is called, so rtsp.c:thread is joined (so if one
asynchronous command is being processed we wait for it), and then, remaining
asynchronous commands are processed in the close().

Did I answer your question ?

More information about the vlc-devel mailing list