Versions Compared

Key

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

...

is a pointer to a variable that contains an error code returned by this function.

OS_ERR_NONE

if If the call was successful and the task was resumed.

OS_ERR_STATE_INVALID

if If the task is in an invalid state.

OS_ERR_TIME_DLY_RESUME_ISR

if If OS_CFG_CALLED_FROM_ISR_CHK_EN set to 1 in os_cfg.h: if calling this function from an ISR.

OS_ERR_TIME_NOT_DLY

if If OS_CFG_ARG_CHK_EN is set to 1 in os_cfg.h: if the task was not delayed or, you passed a NULL pointer for the TCB.

OS_ERR_TASK_SUSPENDED

if If the task to resume is suspended and will remain suspended.

...