<div dir="ltr">I do use mutexes for synchronization; this is orthogonal to the use of volatile.  Like Remi said, volatile has nothing to do with multithreading per-se.<div><br></div><div>This is turning into a much bigger issue than it should be.</div>
<div><br></div><div>In any case, I removed the volatile in the latest patch, which has no measurable effect now (post some refactoring).</div><div><br></div><div>Thank you to all for your comments.</div><div><br></div><div>
--Jonathan</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 28, 2014 at 10:43 PM, Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net" target="_blank">remi@remlab.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 2014-05-29 13:27, Jonathan Thambidurai a écrit :<div class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Did you miss ny above explanation about volatile? Or did you find it<br>
insufficient/unconvincing?<br>
</blockquote>
<br></div>
I cannot find any explanation in the archive...<br>
<a href="https://mailman.videolan.org/pipermail/vlc-devel/2014-May/thread.html" target="_blank">https://mailman.videolan.org/<u></u>pipermail/vlc-devel/2014-May/<u></u>thread.html</a><span class="HOEnZb"><font color="#888888"><br>

<br>
-- <br>
Rémi Denis-Courmont<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><img src="https://www.fastly.com/sites/default/files/logo_email_siganture-01.png" width="96" height="44"><br><div><br></div><div><b>Jonathan Thambidurai</b> | Engineer | 650 440 3421</div>
<div><a href="http://fastly.com" target="_blank">fastly.com</a> | <a href="https://twitter.com/fastly" target="_blank">@fastly</a> | <a href="http://www.linkedin.com/company/fastly" target="_blank">LinkedIn</a><br></div></div>

</div>