Flat_Pool module

reset

procedure · 1 overloadSource

Rewinds the pool so the next get starts at the beginning; the committed pages stay committed.

With overwrite_memory, or the module parameter OVERWRITE_ALL_POOLS_ON_RESET, the used part is first filled with 0xcc. All earlier pointers are invalid. Does nothing on an uninitialized pool.

reset :: (pool: *Flat_Pool, overwrite_memory := false)

Rewinds the pool so the next get starts at the beginning; the committed pages stay committed.

With overwrite_memory, or the module parameter OVERWRITE_ALL_POOLS_ON_RESET, the used part is first filled with 0xcc. All earlier pointers are invalid. Does nothing on an uninitialized pool.

Parameters

pool: *Flat_Pool
overwrite_memory := false

See also