FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [February 2007 Threads] Using vTaskDelete(), memory remain allocatedPosted by Nobody/Anonymous on February 2, 2007 Hi, 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: heap3 and #define INCLUDE_vTaskPrioritySet1 #define INCLUDE_uxTaskPriorityGet1 #define INCLUDE_vTaskDelete1 #define INCLUDE_vTaskCleanUpResources1 #define INCLUDE_vTaskSuspend1 #define INCLUDE_vTaskDelayUntil1 #define INCLUDE_vTaskDelay1 #define INCLUDE_xTaskGetCurrentTaskHandle 1
Bye.
RE: Using vTaskDelete(), memory remain allocatedPosted by Nobody/Anonymous on February 2, 2007 memory is free by prvCheckTasksWaitingTermination in idle task
RE: Using vTaskDelete(), memory remain allocatedPosted by Nobody/Anonymous on February 5, 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|