[riot-notifications] [RIOT-OS/RIOT] sys: Added simple memory barrier API (#11438)
notifications at github.com
Thu Apr 25 11:27:22 CEST 2019
@jcarrano: `__attribute__((always_inline))` could be used to force inlining of `compiler_barrier()` and would be nicer to read in GDB when debugging. It is supported by both GCC and clang for quite some time. Would that be an alternative?
(I believe that the use of inline assembly there is less widely supported than `__attribute__((always_inline))`. If this is correct, this will not reduce compatibility compared to the use of a macro.)
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications