mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
2cb4166c3e
In many places we needlessly use `sched_active_thread->pid` whilst we already have `sched_active_pid` with the same value, and one less indirection. `thread_getpid()` is made `static inline` so that there is no penalty in using this function over accessing `sched_active_pid` directly. |
||
---|---|---|
.. | ||
include | ||
periph | ||
cpu.c | ||
hwtimer_arch.c | ||
io_arch.c | ||
lpm_arch.c | ||
Makefile | ||
Makefile.include | ||
reboot_arch.c | ||
startup.c | ||
stm32f303vc_linkerscript.ld | ||
syscalls.c |