IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

RTX_EC RTX_Wakeup ( RTX_ID  taskId  ) 

Awaken a specified task from its sleep.

If the task is not currently sleeping, then this API 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. Note that a task's "wakeup pending" flag is cleared on each pass through its starting gate, so therefore this API will have no affect on a task which is awaiting a trigger.

An immediate task switch will occur if the task being wakened is of higher priority than the current task.

This API may be called from inside an RTX ISR.

taskId Task handle specifying which task to wakeup.
Zero on success, else error code.
See also:
RTX_Sleep_Time()     RTX_Sleep_Fine()     RTX_Sleep_Request()
SC2x3 V1.00 - CLIB V1.00

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Thu Nov 1 13:20:15 2018 by Doxygen 1.6.1