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.

tasknameUp to four character name of task
taskdataOutput Parameter: Task information is written here
errorOutput Parameter: Error code, 0 on success else error code.
-1 on failure, otherwise task ID (same was as reported in taskdata->taskID).
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

Top of page | Main page

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