IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page


Functions
RTOS Task Control API

Detailed Description

This set of API allow applications to create additional threads of execution. These threads are referred to as tasks throughout this documentation. This set of API also provides control over these tasks.

Functions

RTX_EC RTX_Delete_Task (RTX_ID taskId)
 Delete a task. More...
 
void RTX_Disable_Task_Scheduling (void)
 Disable task switching. More...
 
void RTX_Enable_Task_Scheduling (void)
 Re-enable task switching. More...
 
RTX_EC RTX_End_Execution (void)
 End execution of current task. More...
 
RTX_EC RTX_End_Task (RTX_ID taskId)
 End specified task's execution. More...
 
RTX_ID RTX_Get_TaskID (void)
 Get current task's ID handle. More...
 
DWORD RTX_GetProcessNum (RTX_ID taskId)
 Return process number of application program which owns the specified task. More...
 
long RTX_GetTaskParam (RTX_ID taskId)
 Get specified task's input parameter. More...
 
RTX_EC RTX_Kill_Program (DWORD procNum)
 Kill an application program. More...
 
RTX_EC RTX_Kill_Task (RTX_ID taskId)
 Kill a task. More...
 
RTX_ID RTX_NewTask (const RtxTaskDefS *tkdefp)
 Task constructor. More...
 
QWORD RTX_NewTaskErr (const RtxTaskDefS *tkdefp)
 Task constructor.with error code in return value. More...
 
RTX_EC RTX_Resume_Task (RTX_ID taskId)
 Resume specified tasks. More...
 
RTX_EC RTX_Sleep_Fine (long time_rti)
 Sleep for a specified number of RTI ticks. More...
 
RTX_EC RTX_Sleep_Request (void)
 Put task to sleep. More...
 
RTX_EC RTX_Sleep_Time (long time_ms)
 Sleep for a specified number of milliseconds. More...
 
RTX_EC RTX_Sleep_TimeUs (long time_us, BOOL wakeupCapable)
 Sleep for a specified number of microseconds. More...
 
RTX_EC RTX_Sleep_TimeMs (long time_ms, BOOL wakeupCapable)
 Sleep for a specified number of milliseconds. More...
 
RTX_EC RTX_Suspend_Task (RTX_ID taskId)
 Suspend execution of a task. More...
 
int RTX_Task_Priority (RTX_ID taskId, int priority)
 Change and/or read out a task's priority. More...
 
RTX_EC RTX_Trigger_Task (RTX_ID taskId)
 Trigger execution of a task. More...
 
RTX_ID RTX_TaskFind (const char *name)
 Find task by name. More...
 
RTX_EC RTX_Wakeup (RTX_ID taskId)
 Wakeup a specified task. More...
 





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Dec 12 2017 09:23:36 by Doxygen 1.8.13