@CHIP-RTOS C Library V2.00 - RTOS API
RTX_Get_Task_List
Get list of current tasks in system. int RTX_Get_Task_List ( TaskList far *tasklist, int length ); Parameters
tasklist
- Output parameter: Pointer to an array of
TaskList
type
structures allocated by user to be filled by this function
length
- Length of the list, number of data structures
in array.
Return Value
- Number of tasks output to tasklist
array
Comments
- The caller must allocate sufficient buffer space at
tasklist
to
allow all tasks to be reported, including those
created by the
system in order to receive a complete report.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|