summaryrefslogtreecommitdiff
path: root/kern/kernel.c
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-06-01 16:07:56 +0200
committerRichard Braun <rbraun@sceen.net>2013-06-01 16:07:56 +0200
commit0ce715c716f0510d9ec2d5a56dec4cbcfbd9522e (patch)
treea3d20082894b71fdfc37f765e75ab6920ba92ff5 /kern/kernel.c
parenta919943d8070ca15ba93a06258e90297d9f51e1e (diff)
kern/thread: slightly rework scheduler invocation
Rename THREAD_RESCHEDULE to THREAD_YIELD and thread_reschedule to thread_yield for better clarity, and add the thread_schedule inline function that checks for the THREAD_YIELD flag before calling thread_yield (yielding only checks if preemption is enabled).
Diffstat (limited to 'kern/kernel.c')
0 files changed, 0 insertions, 0 deletions