Project about Atomic Operations

yangwei weiyang wei.a.yang at gmail.com
Mon Mar 26 13:40:14 UTC 2012


Hi Huber:
    The atomic operations supported by c and c++ standard is built in
the compiler, like
GCC has some build-in atomic operations functions. you can see
    http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Atomic-Builtins.html.
    But Not all operations are supported by all target processors and
it is designed as a
standard library not for a operation system. So in my opinion we can
refer its implementation
but can use them directly.

Wenjie
Best Regards

2012/3/26 Sebastian Huber <sebastian.huber at embedded-brains.de>:
> Hi,
>
> atomic operations are now supported by the recent C and C++ standard.  See
>
> http://en.wikipedia.org/wiki/C11_%28C_standard_revision%29
> http://www.hpl.hp.com/personal/Hans_Boehm/c++mm/
>
> Why don't we simply use them?
>
> --
> 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.
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users



-- 
Wei Yang
Best Regards

wei.a.yang at gmail.com




More information about the users mailing list