@CHIP-RTOS C Library - RTOS API
Start a newly created task or restart a killed task.
int RTX_Restart_Task ( int taskID );
- Task handle returned from
- 0 on success else
error code, invalid task ID.
- This function increments a task trigger counter within the specified
task's control block. This trigger counter is then decremented each
time the system starts this task. When a task is at its starting
gate and this trigger counter is zero (the initial condition after a
task has been created), the task awaits execution with the "trigger
wait" status bit in the
bit field set.
alias macro provides an alternative
name for this function. (This alternate name will be used instead in
the C-libraries on future Beck @CHIP-RTOS systems.)
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
for more details.
- RTX API Overview
Supported since or modified in @CHIP-RTOS version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document