Function

CMMemoryPoolInvalidate

When CMMemoryPoolInvalidate is called the pool's allocator stops recycling memory.

Declaration

void CMMemoryPoolInvalidate(CMMemoryPoolRef pool);

Discussion

When this method is called the pool deallocates any memory it was holding for recycling. Deallocation also happens when the retain count of the CMMemoryPool drops to zero, though under GC deallocation may be delayed.

See Also

Managing CMMemoryPool

CMMemoryPoolCreate

Creates a new CMMemoryPool.

CMMemoryPoolGetAllocator

Returns the pool's CFAllocator.

CMMemoryPoolFlush

Deallocates all memory the pool was holding for recycling.

CMMemoryPoolGetTypeID

Returns the unique identifier of an opaque type to which the CMMemoryPool object belongs.