Pool module

release

procedureSource

Resets the pool and frees all its blocks through block_allocator. The pool can be used again; it takes new blocks on the next get.

Example↗
pool: Pool;
get(*pool, 100);
release(*pool);
release :: (pool: *Pool)

Parameters

pool: *Pool

See also