1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/pipe
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
..
Makefile Add generic char pipe implementation 2014-07-28 23:21:27 +02:00
pipe_dynamic.c sys/pipe: always include stdlib.h instead of malloc.h 2019-09-17 20:43:33 +02:00
pipe.c sys: Cleanup access to internal variables 2020-08-24 20:28:11 +02:00