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-06-22 13:53:01 +02:00
2014-07-28 23:21:27 +02:00
2014-08-07 16:31:27 +02:00
2014-08-05 19:49:51 +02:00