#include <LockFreeFixedSizeAllocator.h>
◆ TLockFreeFixedSizeAllocator_TLSCacheBase()
◆ ~TLockFreeFixedSizeAllocator_TLSCacheBase()
Destructor, leaks all of the memory
◆ Allocate()
Allocates a memory block of size SIZE.
- Returns
- Pointer to the allocated memory.
- See also
- Free
◆ Free()
Puts a memory block previously obtained from Allocate() back on the free list for future use.
- Parameters
-
- See also
- Allocate
◆ GetNumFree()
Gets the number of allocated memory blocks that are currently unused.
- Returns
- Number of unused memory blocks.
- See also
- GetNumUsed
◆ GetNumUsed()
Gets the number of allocated memory blocks that are currently in use.
- Returns
- Number of used memory blocks.
- See also
- GetNumFree
The documentation for this class was generated from the following file: