IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


◆ RTX_Get_Task_List()

int RTX_Get_Task_List ( TaskList tasklist,
int  length 
)

This API lists the tasks which are currently present in the system.

A first call to this API may be made with the tasklist parameter set to NULL. The return value will then indicate the total number of tasks that are currently in the system.

A second call could then be made after allocating enough buffer space at tasklist to allow the total number of tasks to be reported.

Parameters
tasklistOutput Parameter: Memory provided by caller to buffer array of up to length TaskList objects. Can be set to NULL to determine the total number of tasks currently in system without task data reporting.
lengthSize of buffer at tasklist, number of TaskList structures. This is the maximum number of tasks that will be output into this list.
Returns
Number of tasks in system (first call with tasklist NULL), or in list (2nd call with tasklist referencing a data buffer allocated by caller).
See also
RTX_Task_Info()
Since
V0.80





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Tue Jul 10 2018 14:54:14 by Doxygen 1.8.13