[vlc-devel] [PATCH] Avoid deadlock on stop() using UDP on Android
rom at rom1v.com
Sun May 11 13:44:11 CEST 2014
Thank you for your comments.
My explanation about pthread_cancel() was inexact and irrelevant for
The problem resides in the UDP access. Therefore, as you suggested, I
propose a new patch (having a more appropriate title and commit message)
which does not touch the FIFO code:
Thank you for your feedbacks
Le dimanche 11 mai 2014 à 4:37 +0300, Rémi Denis-Courmont a écrit :
> Le 2014-05-09 18:58, Romain Vimont a écrit :
> >Android has no pthread_cancel(). Its behavior is emulated in
> >vlc_cancel() using a flag "killed", but it can lead to unavoidable race
> >conditions, typically between a call to vlc_object_alive() and a
> >blocking cond_wait().
> I don't see that. But if there is a bug in the Android port, fix the Android
> I refuse to hack the UDP access unless there is a bug in the UDP access. If
> there is a bug in the UDP access, then it needs to be described correctly,
> and there is no need to touch the FIFO code.
> Either way, this patch looks wrong.
> Rémi Denis-Courmont
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel