<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-03-04 23:04 GMT+01:00 tim Rowledge <span dir="ltr">&lt;<a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><br>
<br>
On 04-03-2015, at 1:52 PM, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi Eliot,<br>
&gt; i had time to throw an eye on integration of atomic ops, and it looks fine.<br>
&gt; From the comment you left, I presume my attempt for providing a feature compatible sqCompareAndSwapRes in case of gcc3.x would not even compile, did you find time to try it?<br>
<br>
</span>What is/was the problem with using the gcc intrinsic __sync_bool_compare_and_swap ? That should at least compile ;-)<br>
<br></blockquote><div><br></div><div>Yes, that&#39;s fine with gcc 4.x, but I was speaking of fallback case for gcc3.x (for compatibility with soft written in -4654) <br></div><div>The asm inclusion currently does not comply with  __sync_bool_compare_and_swap prototype...<br></div><div><br><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
tim<br>
--<br>
tim Rowledge; <a href="mailto:tim@rowledge.org">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" target="_blank">http://www.rowledge.org/tim</a><br>
&quot;Bother&quot; said Pooh as he said f**k in the wrong conf.<br>
<br>
<br>
</blockquote></div><br></div></div>