IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


◆ RTX_Get_Task_State()

int RTX_Get_Task_State ( const char *  taskname,
Task_StateData taskdata,
int *  error 
)

This API retrieves information concerning a task specified by name.

Parameters
tasknameUp to four character name of task
taskdataOutput Parameter: Task information is written here
errorOutput Parameter: Error code, 0 on success else error code.
Returns
-1 on failure, otherwise task ID (same was as reported in taskdata->taskID).
Compatibility:
The SC1x, SC2x and SC1x3 systems returned a -1 value when Task Monitoring mode was not enabled. This is not done by this API since Task Monitoring mode is not required here, although it does influence the choice of measurement intervals for the taskdata->taskCount value.
See also
RTX_Task_Info()
Since
V0.80





Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Fri Jun 8 2018 12:48:20 by Doxygen 1.8.13