zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PoolAlloc.h File Reference
#include <stddef.h>
#include <string.h>
#include <vector>

Go to the source code of this file.

Classes

class  pool_allocator< T >
 
struct  pool_allocator< T >::rebind< Other >
 
class  TAllocation
 
class  TPoolAllocator
 
struct  TPoolAllocator::tAllocState
 
struct  TPoolAllocator::tHeader
 

Functions

TPoolAllocatorGetGlobalPoolAllocator ()
 
void SetGlobalPoolAllocator (TPoolAllocator *poolAllocator)
 

Function Documentation

TPoolAllocator* GetGlobalPoolAllocator ( )

Definition at line 36 of file PoolAlloc.cpp.

References assert, OS_GetTLSValue(), and PoolIndex.

Referenced by NewPoolTFieldList(), and NewPoolTString().

void SetGlobalPoolAllocator ( TPoolAllocator poolAllocator)

Definition at line 42 of file PoolAlloc.cpp.

References assert, OS_SetTLSValue(), and PoolIndex.

Referenced by TShHandleBase::TShHandleBase(), and TShHandleBase::~TShHandleBase().