zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
osinclude.h File Reference
#include "compiler/debug.h"

Go to the source code of this file.

Functions

OS_TLSIndex OS_AllocTLSIndex ()
 
bool OS_FreeTLSIndex (OS_TLSIndex nIndex)
 
voidOS_GetTLSValue (OS_TLSIndex nIndex)
 
bool OS_SetTLSValue (OS_TLSIndex nIndex, void *lpvValue)
 

Function Documentation

OS_TLSIndex OS_AllocTLSIndex ( )

Definition at line 19 of file ossource_posix.cpp.

References assert, DWORD(), and NULL.

Referenced by InitializeParseContextIndex(), and InitializePoolIndex().

bool OS_FreeTLSIndex ( OS_TLSIndex  nIndex)

Definition at line 50 of file ossource_posix.cpp.

References assert.

Referenced by FreeParseContextIndex(), and FreePoolIndex().

void* OS_GetTLSValue ( OS_TLSIndex  nIndex)
inline

Definition at line 55 of file osinclude.h.

References ASSERT.

Referenced by GetGlobalParseContext(), and GetGlobalPoolAllocator().

bool OS_SetTLSValue ( OS_TLSIndex  nIndex,
void lpvValue 
)

Definition at line 36 of file ossource_posix.cpp.

References assert.

Referenced by SetGlobalParseContext(), and SetGlobalPoolAllocator().