zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PoolAlloc.cpp File Reference
#include "compiler/PoolAlloc.h"
#include <stdint.h>
#include <stdio.h>
#include "common/angleutils.h"
#include "compiler/InitializeGlobals.h"
#include "compiler/osinclude.h"

Go to the source code of this file.

Functions

void FreePoolIndex ()
 
TPoolAllocatorGetGlobalPoolAllocator ()
 
bool InitializePoolIndex ()
 
void SetGlobalPoolAllocator (TPoolAllocator *poolAllocator)
 

Variables

OS_TLSIndex PoolIndex = OS_INVALID_TLS_INDEX
 

Function Documentation

void FreePoolIndex ( )

Definition at line 28 of file PoolAlloc.cpp.

References assert, OS_FreeTLSIndex(), and PoolIndex.

Referenced by DetachProcess().

TPoolAllocator* GetGlobalPoolAllocator ( )

Definition at line 36 of file PoolAlloc.cpp.

References assert, OS_GetTLSValue(), and PoolIndex.

Referenced by NewPoolTFieldList(), and NewPoolTString().

bool InitializePoolIndex ( )

Definition at line 20 of file PoolAlloc.cpp.

References assert, OS_AllocTLSIndex(), and PoolIndex.

Referenced by InitProcess().

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().

Variable Documentation

OS_TLSIndex PoolIndex = OS_INVALID_TLS_INDEX