[riot-notifications] [RIOT-OS/RIOT] cpu/atmega_common: RTT and RTC support (#8842)

Marian Buschsieweke notifications at github.com
Thu Apr 18 13:11:08 CEST 2019

@ZetaR60: I'm sure that `volatile` is incorrect here. You should either use [C11 atomics](https://en.cppreference.com/w/c/atomic) (good), [Atomic Buildtins](https://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Atomic-Builtins.html) (bad), or inline assembly (ugly) to guarantee atomic access to the variables. Or just disable (the relevant) interrupts during access.

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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190418/fffe0367/attachment.html>

More information about the notifications mailing list