zephyr/kernel/nanokernel
Peter Mitsis d63a4f7bf7 nano_timers: Simplify nano_xxx_timer_test() API family
Simplifies the nanokernel timer API so that the timeout parameter must be
specified when invoking nano_isr_timer_test(), nano_fiber_timer_test(),
nano_task_timer_test() and nano_timer_test().

This obsoletes the following APIs:
	nano_fiber_timer_wait()
	nano_task_timer_wait()
	nano_timer_wait()

Note that even the though the new API requires that the timeout parameter
be specified, there are currentl only two acceptable values:
	TICKS_NONE and TICKS_UNLIMITED

Theoretically, the current implementation would allow one to supply a
finite positive value for the timeout and the system would wait up to
that many ticks for the timer to expire. However, it is thought that
that unnecessarily complicates the nanokernel timer model and so it is
left as an unsupported option.  Should that change, then that feature
could be enabled by updating the documentation.

Change-Id: I8835c5342ab5025d6f70fdfbed54a50add7568d7
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
2016-02-05 20:25:15 -05:00
..
include nano timeouts: Add support macros 2016-02-05 20:25:14 -05:00
Kconfig kconfig: Fix INT_LATENCY_BENCHMARK description 2016-02-05 20:25:13 -05:00
Makefile x86: streamline irq_lock()/irq_unlock() 2016-02-05 20:25:13 -05:00
compiler_stack_protect.c Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
device.c checkpatch: warning - line_spacing 2016-02-05 20:24:33 -05:00
event_logger.c nano_sema: Simplify nano_xxx_sem_take() API family 2016-02-05 20:25:14 -05:00
idle.c idle: add support for nanokernel tickless idle 2016-02-05 20:25:13 -05:00
int_latency_bench.c x86: streamline irq_lock()/irq_unlock() 2016-02-05 20:25:13 -05:00
kernel_event_logger.c Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
nano_context.c Fixed file description and applied doxygen style 2016-02-05 20:24:58 -05:00
nano_fiber.c kernel: rename _nano_fiber_schedule() 2016-02-05 20:24:53 -05:00
nano_fifo.c nano_stack: Simplify nano_xxx_stack_pop() API family 2016-02-05 20:25:14 -05:00
nano_init.c init: Move SECONDARY init level to the idle task. 2016-02-05 20:25:10 -05:00
nano_lifo.c nano_stack: Simplify nano_xxx_stack_pop() API family 2016-02-05 20:25:14 -05:00
nano_sema.c nano_stack: Simplify nano_xxx_stack_pop() API family 2016-02-05 20:25:14 -05:00
nano_sleep.c nanokernel: Rename nano_tick_xxx APIs 2016-02-05 20:24:53 -05:00
nano_stack.c nano_stack: Simplify nano_xxx_stack_pop() API family 2016-02-05 20:25:14 -05:00
nano_sys_clock.c nanokernel: Rename nano_tick_xxx APIs 2016-02-05 20:24:53 -05:00
nano_timer.c nano_timers: Simplify nano_xxx_timer_test() API family 2016-02-05 20:25:15 -05:00
ring_buffer.c checkpatch: error - spacing 2016-02-05 20:24:31 -05:00
version.c Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00