mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
1df0b5644a
sched_switch() is called by some library functions when a call unblocks another thread. Then it needs to be tested if the current thread should be preempted for the newly runnable thread. A non-volutarily yield should only happen if the unblocked thread has a _higher_ priority than the current thread. The current implementation, which tests if the other thread has the same or a higher priority, does not fit the documentation. |
||
---|---|---|
.. | ||
include | ||
bitarithm.c | ||
cib.c | ||
clist.c | ||
doc.txt | ||
hwtimer.c | ||
kernel_init.c | ||
lifo.c | ||
Makefile | ||
msg.c | ||
mutex.c | ||
priority_queue.c | ||
reboot.c | ||
sched.c | ||
thread.c |