1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/cpp11-compat/include/riot
Marian Buschsieweke 3b6fa61829
sys: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-08-24 20:28:11 +02:00
..
detail many typo fixes 2019-11-23 22:39:07 +01:00
chrono.hpp cpp11-compat: address cppcheck warnings 2017-04-14 14:36:15 +02:00
condition_variable.hpp sys: Cleanup access to internal variables 2020-08-24 20:28:11 +02:00
mutex.hpp sys/cpp11-compat: fix typos 2019-11-23 22:39:37 +01:00
thread.hpp doc: fix whitespaces 2017-09-06 08:49:05 +02:00