All deleted tasks to be cleaned up by any other task
Market leading real time kernel for 40+ microcontroller architectures
Brought to you by:
gaurav-aws,
rtel
V9.0.0 deletes tasks immediately, unless a task deletes itself, in which case it is still cleaned by the Idle task. prvCheckTasksWaitingTermination() is currently still a private function.
If a task is statically allocated (stack and TCB) what does vDelete actually delete ?
You can see the source code of vTaskDelete() by searching for the
function in the source file here:
https://sourceforge.net/p/freertos/code/HEAD/tree/trunk/FreeRTOS/Source/tasks.c
You will see it calls prvDeleteTCB() which is also implemented in the
same source file.
I think both functions are quite well commented.