zephyr/kernel/unified
Peter Mitsis bd69658571 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: Peter Mitsis <peter.mitsis@windriver.com>
2016-09-20 15:28:54 +00:00
..
include unified: Preemption check to include sched lock 2016-09-20 15:28:53 +00:00
legacy unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
atomic_c.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
compiler_stack_protect.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
device.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
errno.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
event_logger.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
event.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
fifo.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
idle.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
init.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
int_latency_bench.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
Kconfig unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
kernel_event_logger.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
lifo.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
mailbox.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
Makefile unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
mem_map.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
mem_pool.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
msg_q.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
mutex.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
pipes.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
ring_buffer.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
sched.c unified: Add _is_next_thread_current() 2016-09-20 15:28:54 +00:00
sem.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
stack.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
sys_clock.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
thread_abort.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
thread.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
timer.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
version.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00
work_q.c unified: initial unified kernel implementation 2016-09-13 17:12:55 -04:00