ZestCode
 
Loading...
Searching...
No Matches
task_abort_delay

task. h

int32_t task_abort_delay( task_t xTask );

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 task_delay() is called, or an event on an object, such as when queue_recv() or task_notify_take() is called. If the handle of a task that is in the Blocked state is used in a call to task_abort_delay() then the task will leave the Blocked state, and return from whichever function call placed the task into the Blocked state.

Parameters
xTaskThe handle of the task to remove from the Blocked state.
Returns
If the task referenced by xTask was not in the Blocked state then pdFAIL is returned. Otherwise pdPASS is returned.