nano_fifo: Simplify nano_xxx_fifo_get() API family
Changes the nanokernel FIFO API so that the timeout parameter must be specified when invoking nano_isr_fifo_get(), nano_fiber_fifo_get(), nano_task_fifo_get() and nano_fifo_get(). This obsoletes the following APIs: nano_fiber_fifo_get_wait() nano_fiber_fifo_get_wait_timeout() nano_task_fifo_get_wait() nano_task_fifo_get_wait_timeout() nano_fifo_get_wait() nano_fifo_get_wait_timeout() Change-Id: Icbd2909292f1ced0bad8a70a075478536a141ef2 Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
parent
a6b20d4c04
commit
cd6db374de
26 changed files with 189 additions and 396 deletions
|
@ -140,7 +140,7 @@ SECTION_FUNC(TEXT, nano_cpu_idle)
|
|||
*
|
||||
* This function is utilized by the nanokernel object "wait" APIs for tasks,
|
||||
* e.g. nano_task_lifo_get_wait(), nano_task_sem_take_wait(),
|
||||
* nano_task_stack_pop_wait(), and nano_task_fifo_get_wait().
|
||||
* nano_task_stack_pop_wait(), and nano_task_fifo_get().
|
||||
*
|
||||
* INTERNAL
|
||||
* The requirements for nano_cpu_atomic_idle() are as follows:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue