Skip to content
Commit 83d7770d authored by Andrew Boie's avatar Andrew Boie Committed by Maureen Helm
Browse files

sched: check if runnable in sliceable()



We need to check if a thread is runnable at all before we
contemplate putting it on the end of the priority queue,
it might not be on the queue at all if it was suspended.

Replaces the less comprehensive check to see if the thread
was pending a timeout.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent ffc5bdff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment