Using vTaskDelete(), memory remain allocated

nobody wrote on Friday, February 02, 2007:

When I call vTaskDelete(NULL) to suicide task, it passes to ‘delete’ status (i can look it by vTaskList()) but allocated memory is not freed (like i’d want).
Someone can help me?

I am using:
#define INCLUDE_vTaskPrioritySet        1
#define INCLUDE_uxTaskPriorityGet        1
#define INCLUDE_vTaskDelete                1
#define INCLUDE_vTaskCleanUpResources    1
#define INCLUDE_vTaskSuspend            1
#define INCLUDE_vTaskDelayUntil            1
#define INCLUDE_vTaskDelay                1
#define INCLUDE_xTaskGetCurrentTaskHandle 1


nobody wrote on Friday, February 02, 2007:

memory is free by prvCheckTasksWaitingTermination in idle task

nobody wrote on Monday, February 05, 2007:

Thank you a lot.
Your hint reminded me that I used a while(1) in the idle task => prvCheckTasksWaitingTermination never was called.

Thanks again.