◆ LockFreeLinkAllocator_TLSCache()
| LockFreeLinkAllocator_TLSCache::LockFreeLinkAllocator_TLSCache |
( |
| ) |
|
|
inline |
◆ ~LockFreeLinkAllocator_TLSCache()
| LockFreeLinkAllocator_TLSCache::~LockFreeLinkAllocator_TLSCache |
( |
| ) |
|
|
inline |
Destructor, leaks all of the memory
◆ Pop()
| TLinkPtr LockFreeLinkAllocator_TLSCache::Pop |
( |
| ) |
|
|
inline |
Allocates a memory block of size SIZE.
- Returns
- Pointer to the allocated memory.
- See also
- Free
◆ Push()
| void LockFreeLinkAllocator_TLSCache::Push |
( |
TLinkPtr |
Item | ) |
|
|
inline |
Puts a memory block previously obtained from Allocate() back on the free list for future use.
- Parameters
-
- See also
- Allocate
The documentation for this class was generated from the following file: