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-08-05 17:08:53 +02:00
2014-05-15 10:52:34 +02:00
2014-05-15 10:52:34 +02:00
2014-08-05 17:08:53 +02:00
2014-07-29 18:17:48 +02:00
2014-05-13 08:31:05 +02:00
2014-05-13 08:33:36 +02:00
2014-08-05 17:08:53 +02:00
2014-08-05 17:57:45 +02:00
2014-08-05 17:08:53 +02:00