Project about Atomic Operations

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Mar 26 14:59:54 UTC 2012


On 03/26/2012 04:43 PM, Yang Wei wrote:
> Hi Huber,
>      The implementation of C 2011 standard should also be part of compiler,right?

Yes, but the compiler might need help from the operating system.

> I am not really familiar with its implementation. And the C 2011 support all architecture atomic primitive?

The atomic support is optional, but I guess GCC will support it on all main 
architectures.  Please also have a look in the standard:

http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list