Skip to content
Commit bd696585 authored by Peter Mitsis's avatar Peter Mitsis Committed by Benjamin Walsh
Browse files

unified: Add _is_next_thread_current()



The routine _is_next_thread_current() checks if the current thread
is still the highest priority thread that is ready to run.

It is useful for determining if a thread must be swapped out when
timeslicing is in effect.

Change-Id: Ide7b89742a64f6082ca4c679a4b2fbd60792e30f
Signed-off-by: default avatarPeter Mitsis <peter.mitsis@windriver.com>
parent 685254f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment