nano_sema: Simplify nano_xxx_sem_take() API family
Changes the nanokernel semaphore API so that the timeout parameter must be specified when invoking nano_isr_sem_take(), nano_fiber_sem_take(), nano_task_sem_take() and nano_sem_take(). This obsoletes the following APIs: nano_fiber_sem_take_wait() nano_fiber_sem_take_wait_timeout() nano_task_sem_take_wait() nano_task_sem_take_wait_timeout() nano_sem_take_wait() nano_sem_take_wait_timeout() Change-Id: If7a4bce1bd8ec8d6410d04f3c16ff1922ff0910e Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
parent
cd6db374de
commit
54b782a88b
39 changed files with 199 additions and 378 deletions
|
@ -139,7 +139,7 @@ SECTION_FUNC(TEXT, nano_cpu_idle)
|
|||
* @brief Atomically re-enable interrupts and enter low power mode
|
||||
*
|
||||
* This function is utilized by the nanokernel object "wait" APIs for tasks,
|
||||
* e.g. nano_task_lifo_get_wait(), nano_task_sem_take_wait(),
|
||||
* e.g. nano_task_lifo_get_wait(), nano_task_sem_take(),
|
||||
* nano_task_stack_pop_wait(), and nano_task_fifo_get().
|
||||
*
|
||||
* INTERNAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue