Re: [LAD] Code reordering

From: Kjetil Matheussen <k.s.matheussen@email-addr-hidden>
Date: Sat Mar 05 2016 - 14:28:46 EET

On Sat, Mar 5, 2016 at 1:12 PM, Kjetil Matheussen <k.s.matheussen@email-addr-hidden>
wrote:

> Control of memory ordering and atomics are officially part of the C
>>
> and C++ languages since 2011. GCC already supported this when the ISO
>> standards was finalized. Microsoft and Clang started supporting it in
>> 2012. So, it's been pretty much portable since 2012. This is 2016.
>> IMHO, it's time to make use of it. :)
>
>
>
> Well, atomics are not an official part of the C standard, only the C++
> standard.
>

Ouch. Sorry. Wrong. C11 has stdatomic.h, but it's not included
in gcc 4.x, which is still used a lot.

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sat Mar 5 16:15:03 2016

This archive was generated by hypermail 2.1.8 : Sat Mar 05 2016 - 16:15:03 EET