[vlc-devel] [PATCH] Avoid deadlock on UDP stop

Rémi Denis-Courmont remi at remlab.net
Thu May 22 06:42:39 CEST 2014


Le 2014-05-21 21:02, Romain Vimont a écrit :
> The block callback *is* BlockUDP() and I set b_eof in BlockUDP(), so
> that's exactly what I do.

> But you suggested (here and on irc) that I should not do anything 
> more.
> I think this is both incomplete and insufficient:
>  - incomplete: on what condition do you set b_eof?

You've answered that question yourself previously, when the return is 
NULL.

>  - insufficient: how could that resolve the deadlock?

Your patch does not solve the deadlock so much as it works around it. I 
am not even sure that the root cause of the problem has been properly 
identified.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list