[vlc-devel] [PATCH] Avoid deadlock on UDP stop
remi at remlab.net
Wed May 21 11:33:46 CEST 2014
Le 2014-05-21 16:53, Romain Vimont a écrit :
> This is not a problem because I don't use b_eof for that. If I would
> write it from TR, then it would be a problem…
> According to you, apart from using a (synchronized) flag like
> b_finishing, how should we make TR wake up BU (blocked in
> block_FifoGet() in BlockUDP()) from the end of ThreadRead(), in order
> prevent the deadlock in all cases?
Write b_eof from BlockUDP() as normal, IIRC it was mentioned already.
Or better yet fix the real problem, the multiple unsynchronized alive
flags of the input objects.
More information about the vlc-devel