<< Previous | Next >> | |
|
INT8U OSTaskQuery( INT8U prio, OS_TCB * pdata );
Description
- Obtains a copy of the requested task's task control block (TCB).
Parameters
- prio
- Priority number of the task.
- pdata
- Pointer to task's TCB.
Return value
- OS_NO_ERR
- The requested task is suspended.
- OS_PRIO_INVALID
- The priority you specify is higher than the maximum allowed (i.e. ≥
OS_LOWEST_PRIO
) or,OS_PRIO_SELF
is not specified.
- OS_PRIO_ERR
- The desired task has not been created.
Library
- UCOS2.LIB
Dynamic C Functions | << Previous | Next >> | rabbit.com |