RTEMS Self Task Deletion

Chris Johns chrisj at rtems.org
Wed Sep 27 08:47:20 UTC 2006

Kamaraj P wrote:
> I mean the memory allocated by Task (while creation) for TCB, STACK size etc.

The memory allocated for the stack plus some other bits and pieces 
should be released back into the Workspace. How do you know the memory 
is not being released ?

The object data will be returned the free list of objects and may not be 
released. This depends on the configuration table entries and if you 
have the unlimited bit set. In this case the object memory may have been 
allocated when the create occurs and will not be released until half the 
allocation size of the previous block has been released.


More information about the users mailing list