1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/core
René Kijewski 2cb4166c3e all over the place: use sched_active_pid
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.
2014-08-17 21:04:25 +02:00
..
include all over the place: use sched_active_pid 2014-08-17 21:04:25 +02:00
bitarithm.c doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
cib.c doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
clist.c doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
doc.txt remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
hwtimer.c doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
kernel_init.c doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
lifo.c doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
Makefile make: detect their module name automatically 2014-06-17 15:49:32 +02:00
msg.c core/queue: queue -> priority_queue 2014-08-05 17:57:45 +02:00
mutex.c core/queue: queue -> priority_queue 2014-08-05 17:57:45 +02:00
priority_queue.c core: shadowing in priority_queue_print 2014-08-11 18:42:25 +02:00
reboot.c doc: use lgplv2.1-short license header instead of lgpl-short-riot 2014-07-31 22:57:20 +02:00
sched.c all over the place: use sched_active_pid 2014-08-17 21:04:25 +02:00
thread.c all over the place: use sched_active_pid 2014-08-17 21:04:25 +02:00