diff options
author | Richard Braun <rbraun@sceen.net> | 2013-06-01 16:07:56 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-06-01 16:07:56 +0200 |
commit | 0ce715c716f0510d9ec2d5a56dec4cbcfbd9522e (patch) | |
tree | a3d20082894b71fdfc37f765e75ab6920ba92ff5 /kern/kernel.c | |
parent | a919943d8070ca15ba93a06258e90297d9f51e1e (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