@CHIP-RTOS C Library V2.00 - RTOS API
RTX_Change_TaskPrio
Change specified task's priority. int RTX_Change_TaskPrio ( int taskID, int priority,
int *error ); Parameters
taskID
- Task handle returned from
RTX_Create_Task or
RTX_Create_Task_Without_Run.
priority
- task priority in range 3...127
where priority 3 is high and 127 is low.
error
- pointer to error variable
Return Value
- 0, success.
non-zero --> Variable error contains error code.
Comments
- An out of range priority
value will be limited to
range 3..127 inside this function.
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
|