zephyr/kernel/nanokernel/include
Benjamin Walsh 1b5b6e44f7 kernel: add _IS_IDLE_TASK()
Add a way of finding if a microkernel task is the idle task instead of
of duplicating:

  task_priority_get() == (CONFIG_NUM_TASK_PRIORITIES - 1)

which could be subject to change.

Only available for microkernel, since there is no such concept in the
nanokernel.

Change-Id: Ie8930981f1a2ac5ff16f905f4eb4e333c8b59c5d
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-05-11 20:22:24 +00:00
..
gen_offset.h Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
nano_internal.h kernel: add _IS_IDLE_TASK() 2016-05-11 20:22:24 +00:00
nano_offsets.h errno: implement _get_errno() in common code 2016-05-04 17:04:14 +00:00
timeout_q.h nanokernel: [un]block tasks on nanokernel objects infrastructure 2016-05-04 22:51:33 +00:00
wait_q.h kernel: add _IS_IDLE_TASK() 2016-05-11 20:22:24 +00:00