1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/schedstatistics
Kaspar Schleiser baca419934 sys/schedstatistics: handle if PIDs are KERNEL_PID_UNDEF
Previously, sched_statistics_cb() was always called with two valid PIDs.
Now it is possible (when the idle thread is not used) that one of the
two might be KERNEL_PID_UNDEF, as the callback might be called when
descheduling the last thread, or scheduling the first.
2020-06-25 16:02:28 +02:00
..
Makefile sys: add schedstatistics module 2019-09-13 11:37:44 +02:00
schedstatistics.c sys/schedstatistics: handle if PIDs are KERNEL_PID_UNDEF 2020-06-25 16:02:28 +02:00