<< Previous | Next >>

OSTaskResume

INT8U OSTaskResume (INT8U prio);

Description

Resumes a suspended task. This is the only call that will remove an explicit task suspension.

Parameters

prio
The priority of the task to resume.

Return value

OS_NO_ERR
The requested task is resumed.

OS_PRIO_INVALID
The priority specified is higher than the maximum allowed (i.e., OS_LOWEST_PRIO).

OS_TASK_NOT_SUSPENDED
The task to resume has not been suspended.

Library

OS_TASK.C

See also

OSTaskSuspend


020-0059 Rev. D << Previous | Next >> µC/OS-II