@CHIP-RTOS C Library - RTOS API
Wake up a task expected to be waiting within a
int RTX_Wakeup ( int taskID );
- Task handle returned from
- 0, success
non-zero --> error code.
- If the task is not currently sleeping, then the RTOS sets a "wakeup pending"
flag for the respective task such that on the next call the task makes
to one of the sleep functions it will return ("wake up") immediately.
An immediate task switch will occur if the task being wakened is of
higher priority than the current task.
- 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