1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/cpp11-compat
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
..
include/riot sys: Cleanup access to internal variables 2020-08-24 20:28:11 +02:00
condition_variable.cpp sys: Cleanup access to internal variables 2020-08-24 20:28:11 +02:00
cppsupport.cpp all: Update @gebart family name, email 2015-09-20 13:47:39 +02:00
doc.txt Add replacement headers for thread, mutex and cond 2015-05-18 13:57:02 +02:00
Makefile Add replacement headers for thread, mutex and cond 2015-05-18 13:57:02 +02:00
mutex.cpp everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
thread.cpp sys: Cleanup access to internal variables 2020-08-24 20:28:11 +02:00