[vlc-devel] [PATCH] rtsp.c deadlock
Laurent Aimar
fenrir at via.ecp.fr
Sat Nov 29 12:03:38 CET 2008
Hi,
On Fri, Nov 28, 2008, Sébastien Escudier wrote:
> There is a deadlock in rtsp.c, this patch should solve it.
> To see a description of the deadlock, read the end of this mail.
>
> This patch unlock lock_media mutex before sending a vod_MediaControl, because we
> won't access p_sys->media[] anymore at this point.
It is invalid. The array is not accessed anymore by the thread but p_media is.
The lock protect both the array AND the element inside it.
So it cannot be applied.
Regards,
--
fenrir
More information about the vlc-devel
mailing list