www.beck-ipc.com

@CHIP-RTOS C Library - RTOS API


RTX_Wakeup

Wake up a task expected to be waiting within a RTX_Sleep_Request or RTX_Sleep_Time call.

int RTX_Wakeup ( int taskID );

Parameters

taskID

Task handle returned from RTX_Create_Task or RTX_Create_Task_Without_Run.

Return Value

0, success
non-zero --> error code.

Comments

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.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.

Related Topics

RTX API   Overview

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    V1.00V1.00V1.00V0.90V1.00

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document