d63a4f7bf7
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> |
||
---|---|---|
.. | ||
src | ||
Makefile | ||
prj.mdef | ||
prj_arm.conf | ||
prj_x86.conf | ||
testcase.ini |