<div dir="auto"><div><div class="gmail_extra"><div class="gmail_quote">On 16 Nov 2016 10:04 am, "Marshall Clow" <<a href="mailto:mclow.lists@gmail.com">mclow.lists@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">mclow.lists added a comment.<br>
<br>
Ok - looking just at `kill_dependency`, this was added to the C standard in C11. It's required to be a macro.<br>
`atomic_is_lock_free` appears to be a function, as does `atomic_load`. Haven't checked the rest.<br></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">That's a bug in C11; these are nearly all required to be macros. SeeĀ <a href="http://www.open-std.org/jtc1/sc22/wg14/www/docs/summary.htm#dr_419">http://www.open-std.org/jtc1/sc22/wg14/www/docs/summary.htm#dr_419</a></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I see that Bionic (sometimes) defines `atomic_is_lock_free` as a macro.<br>
<br>
<br>
<a href="https://reviews.llvm.org/D26376" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D26376</a><br>
<br>
<br>
<br>
</blockquote></div><br></div></div></div>