Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

the pend was aborted for the specified task.

OS_ERR_PEND_ABORT_ISR

if OS_CFG_CALLED_FROM_ISR_CHK_EN set to 1 in os_cfg.h: if called from an ISR

OS_ERR_PEND_ABORT_NONE

if the task was not waiting for a signal.

OS_ERR_PEND_ABORT_SELF

if p_tcb is a NULL pointer or the TCB of the calling task is specified. The user is attempting to pend abort the calling task, which makes no sense since, by definition, the calling task is not pending.

Returned Value

OSTaskSemPendAbort() returns DEF_TRUE if the task was made ready-to-run by this function. DEF_FALSE indicates that the task was not pending, or an error occurred.

...