Re: stdatomic.h Use By RTEMS Questions

2019-06-26 Thread Sebastian Huber
Hello Joel, the SMP support assumes a C11 memory model. The _Atomic_* API is also used in uniprocessor configurations. Here, interrupt disable/enable is used to ensure atomicity and memory barriers are replaced with compiler barriers. -- Sebastian Huber, embedded brains GmbH Address : Dorni

stdatomic.h Use By RTEMS Questions

2019-06-25 Thread Joel Sherrill
Hi I hate to ask a question which I could partially answer with grep but what subset of stdatomic.h is used internally by RTEMS. An important consideration of this question is did we have reasons to avoid any of the APIs? Any concerns about these not working on any particular processor? Failing?