Libatomic support

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Oct 7 05:41:03 UTC 2014


On 02/10/14 11:16, Daniel Cederman wrote:
>  > I would not put too much time into this.  Who needs this stuff?
>
> Thanks for the comment. I thought it would be a quick fix to add support, but
> looking at the code that gcc generates for _Atomic struct's I do not really
> trust it to be correct. And on embedded platforms it is probably better to get
> an undefined reference error and make a custom solution than to add locks
> indirectly. So I will put this on hold.

One option is to simply add the configuration magic for RTEMS and redirect the 
implementation to global functions only declared but not implemented in 
libatomic.  We can then implement this in the RTEMS sources if needed.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
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 devel mailing list