1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/event_wait_timeout
Marian Buschsieweke 60aabbec25
tests/event_wait_timeout: Use C11 atomics for IPC
The test currently uses static globals for communication without any protection.
This could lead optimizing C compilers to deduce that access to those are not
needed (e.g. with LTO enabled). Using C11 atomics is the easiest way to tell
the compiler that those accesses are used for communication between two
different threads of execution (here: between the ISR and the main thread).
2020-04-23 21:16:03 +02:00
..
tests tests: add test for evens_wait_timeout() 2019-05-16 12:01:42 +02:00
main.c tests/event_wait_timeout: Use C11 atomics for IPC 2020-04-23 21:16:03 +02:00
Makefile tests: reduce THREAD_STACKSIZE_DEFAULT for stm32f030f4-demo 2019-10-21 15:33:48 +02:00
Makefile.ci tests: Added atmega328p to Makefile.ci 2019-10-21 12:54:46 +02:00