[vlc-devel] [PATCH 3/7] playlist/fetcher: refactor

Filip Roséen filip at atch.se
Wed Mar 29 19:39:22 CEST 2017


Hi Rémi,

On 2017-03-29 20:33, Rémi Denis-Courmont wrote:

> Le perjantaina 24. maaliskuuta 2017, 3.28.30 EEST Filip Roséen a écrit :
> > +    vlc_interrupt_t interrupt;
> > +    vlc_thread_t thread;
> > +    atomic_bool active;
> 
> This can´t be right. Either there is a lock and atomicity is not necessary, or 
> this will race.

Could you elaborate on the potential race while keeping in mind the
*synchronizes-with* relationship in terms of operations on that
atomic?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170329/0f879c5e/attachment.html>


More information about the vlc-devel mailing list