Marian Buschsieweke 3b6fa61829
sys: Cleanup access to internal variables
Replace direct accesses to sched_active_thread and sched_active_pid with
the helper functions thread_getpid() and thread_get_active(). This serves
two purposes:

1. It makes accidental writes to those variable from outside core less likely.
2. Casting off the volatile qualifier is now well contained to those two
   functions
2020-08-24 20:28:11 +02:00
..
2020-05-11 16:43:50 +02:00
2020-03-04 12:44:02 +01:00
2020-05-11 16:43:50 +02:00
2020-05-11 16:43:50 +02:00
2020-05-11 16:43:50 +02:00
2020-03-04 12:44:02 +01:00
2020-05-11 16:43:50 +02:00