Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::memory::Defragment Function
C++
MEM_PROC LOGICAL MEM_API Defragment(POINTER * ppMemory);
Parameters 
Description 
POINTER * ppMemory 
pointer to a pointer to memory which might move 

not so much of a fragment as a consolidation. Finds a free spot earlier in the heap and attempts to move the block there. This can help alleviate heap fragmentation.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!