HEAPLIST
Posted: Thu Jan 24, 2008 8:28 pm
Closed.
OK, then I probably did not understand the use of your code. Apologies.hellhound66 wrote:I don't know, what you mean.
I don't get the link between the problem discussed in the posted thread and my heap list. I use a heap list to prevent the threads' problem. I am only using one linked list (sorry, I don't want to convert my dynamic array template from C++ to PB) for one heap list. Depending on the size of the data blocks, not much linked list entries were used in a heap list. Further on you can modify the constants to enlarge the heap blocks allocated.
And the most important matter is that I don't use a newe heap, but only use a memory block allocated with AllocateMemory() :wink: