[vlc-devel] [PATCH] Handle GET_PARAMETER keepalive responses during PAUSE

Rémi Denis-Courmont remi at remlab.net
Thu Jun 25 11:13:07 CEST 2015


Le 2015-06-25 00:57, Ross Finlayson a écrit :
>> The volatile keyword makes no difference for memory access rules in
>> multiple threads.
>
> Yes, but the only real concern in this particular case (because of 
> the
> very limited way in which the shared ‘watch variable' is checked/set
> by multiple threads) is compiler optimization.

Not true.

> I.e., you’re concerned about a compiler ‘optimizing'

VLC is usually compiled with optimizations enabled, so that is an 
issue.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list