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

Rémi Denis-Courmont remi at remlab.net
Wed May 14 08:05:13 CEST 2014


Le 2014-05-11 22:42, Romain Vimont a écrit :
> The purpose is similar.
>
> However, p_access->info.b_eof is not, as far as I know, 
> "synchronized"
> (not atomic, no mutex), while we need to set it in ThreadRead() and 
> read
> it from BlockUDP() (two different threads).

It obviously does not need to be synchronized here.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list