xTaskAbortDelay() is only used within FreeRTOS.
 
Symbols
loading...
Files
loading...

xTaskAbortDelay() function

INCLUDE_xTaskAbortDelay must be defined as 1 in FreeRTOSConfig.h for this function to be available. A task will enter the Blocked state when it is waiting for an event. The event it is waiting for can be a temporal event (waiting for a time), such as when vTaskDelay() is called, or an event on an object, such as when xQueueReceive() or ulTaskNotifyTake() is called. If the handle of a task that is in the Blocked state is used in a call to xTaskAbortDelay() then the task will leave the Blocked state, and return from whichever function call placed the task into the Blocked state. There is no 'FromISR' version of this function as an interrupt would need to know which object a task was blocked on in order to know which actions to take. For example, if the task was blocked on a queue the interrupt handler would then need to know if the queue was locked.

Arguments

xTask

The handle of the task to remove from the Blocked state.

Return value

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

References

LocationReferrerText
tasks.c:2629
BaseType_t xTaskAbortDelay( TaskHandle_t xTask )
task.h:847
mpu_wrappers.c:178MPU_xTaskAbortDelay()
xReturn = xTaskAbortDelay( xTask );

Call Tree

Functions calling xTaskAbortDelay()
Functions called by xTaskAbortDelay()
all items filtered out
xTaskAbortDelay()
Data read by xTaskAbortDelay()
Data written by xTaskAbortDelay()
xTaskAbortDelay()
xTaskAbortDelay()::xReturn
all items filtered out
Type of xTaskAbortDelay()
xTaskAbortDelay()
all items filtered out