|
|
@ -94,11 +94,7 @@ const int MAX_THREAD_IDS = 128; |
|
|
|
|
|
|
|
|
|
|
|
static volatile bool s_bThreadIDAllocated[MAX_THREAD_IDS]; |
|
|
|
static volatile bool s_bThreadIDAllocated[MAX_THREAD_IDS]; |
|
|
|
|
|
|
|
|
|
|
|
#if defined(_LINUX) && defined(DEDICATED) |
|
|
|
#if defined(_PS3) |
|
|
|
|
|
|
|
|
|
|
|
DLL_CLASS_EXPORT __thread int g_nThreadID; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#elif defined(_PS3) |
|
|
|
|
|
|
|
#include "tls_ps3.h" |
|
|
|
#include "tls_ps3.h" |
|
|
|
#else |
|
|
|
#else |
|
|
|
DLL_CLASS_EXPORT CTHREADLOCALINT g_nThreadID; |
|
|
|
DLL_CLASS_EXPORT CTHREADLOCALINT g_nThreadID; |
|
|
@ -1684,7 +1680,7 @@ bool CThreadFullMutex::Release() |
|
|
|
//
|
|
|
|
//
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
#if defined( WIN32 ) || defined( _PS3 ) || defined( _OSX ) || ( defined (_LINUX) && !defined(DEDICATED) ) |
|
|
|
#if defined( WIN32 ) || defined( _PS3 ) || defined( _OSX ) || defined (_LINUX) |
|
|
|
#if !defined(_PS3) |
|
|
|
#if !defined(_PS3) |
|
|
|
namespace GenericThreadLocals |
|
|
|
namespace GenericThreadLocals |
|
|
|
{ |
|
|
|
{ |
|
|
|