IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page

◆ RTX_Wakeup()

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.

taskIdTask handle specifying which task to wakeup.
Zero on success, else error code.
See also
RTX_Sleep_Time()     RTX_Sleep_Fine()     RTX_Sleep_Request()

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Fri Feb 9 2018 17:44:50 by Doxygen 1.8.13