Download FreeRTOS
 

Quality RTOS & Embedded Software

KERNEL
WHAT'S NEW
Simplifying Authenticated Cloud Connectivity for Any Device.
Designing an energy efficient and cloud-connected IoT solution with CoAP.
Introducing FreeRTOS Kernel version 11.0.0:
FreeRTOS Roadmap and Code Contribution process.
OPC-UA over TSN with FreeRTOS.

xTaskAbortDelay
[Task Control]

task. h

BaseType_t xTaskAbortDelay( TaskHandle_t xTask );

Forces a task to leave the Blocked state, and enter the Ready state, even if the event the task was in the Blocked state to wait for has not occurred, and any specified timeout has not expired.

INCLUDE_xTaskAbortDelay must be defined as 1 for this function to be available. See the RTOS Configuration documentation for more information.

Parameters:
xTask   The handle of the task that will be forced out of the Blocked state.

To obtain a task's handle create the task using xTaskCreate() and make use of the pxCreatedTask parameter, or create the task using xTaskCreateStatic() and store the returned value, or use the task's name in a call to xTaskGetHandle().

Returns:
If the task referenced by xTask was not in the Blocked state then pdFAIL is returned. Otherwise pdPASS is returned.





Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.