Hi,
I am developing an algorithm that uses a dynamic linked list. Alot of addition and deletion is done throughout the algorithm. The algorithm works completely fine for adding elements to the linked list. It works also fine when I delete the elements without freeing their corresponding memory. But when I use MEM_free to give the memory back to the system, the algorithm blocks either forever or for a long time. The blocking happens at random places, although near certain point after execution starts.
I traced my program and made sure that the MEM_free blocks and the delay is not because a large number of elements should be deleted.
I am using DSP/BIOS 5.31.02. Is this a known issue? Or you reckon I am doing something wrong? I am developing the algorithm on DM6437.
Regards