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
..
2014-07-16 15:21:28 +02:00
2014-07-16 15:21:28 +02:00
2014-07-16 15:21:28 +02:00
2014-07-16 15:21:28 +02:00
2014-07-16 15:21:28 +02:00
2014-07-16 15:21:28 +02:00