예제 #1
0
 void CheckFreeLocalloc()
 {
     while (localPool != null && localPool.GuardPos > topPos)
     {
         localPool = localPool.Free();
     }
 }
예제 #2
0
        public void FreeAllLocalloc()
        {
            LocallocNode node = this.localPool;

            while (node != null)
            {
                node = node.Free();
            }
            this.localPool = null;
        }