1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00

Update CSchemaSystemTypeScope & CThreadSpinMutex

This commit is contained in:
GAMMACASE
2024-05-25 05:33:59 +03:00
parent 426ae7f3b4
commit 5265052f04
2 changed files with 1 additions and 5 deletions

View File

@ -94,9 +94,7 @@ public:
CSchemaPtrMap<int, CSchemaType_Atomic*> m_Atomics; CSchemaPtrMap<int, CSchemaType_Atomic*> m_Atomics;
CSchemaPtrMap<AtomicTypeInfo_T_t, CSchemaType_Atomic_T*> m_AtomicsT; CSchemaPtrMap<AtomicTypeInfo_T_t, CSchemaType_Atomic_T*> m_AtomicsT;
CSchemaPtrMap<AtomicTypeInfo_T_t, CSchemaType_Atomic_CollectionOfT*> m_AtomicsCollectionOfT; CSchemaPtrMap<AtomicTypeInfo_T_t, CSchemaType_Atomic_CollectionOfT*> m_AtomicsCollectionOfT;
CSchemaPtrMap<AtomicTypeInfo_TF_t, CSchemaType_Atomic_TF*> m_AtomicsTF;
CSchemaPtrMap<AtomicTypeInfo_TT_t, CSchemaType_Atomic_TT*> m_AtomicsTT; CSchemaPtrMap<AtomicTypeInfo_TT_t, CSchemaType_Atomic_TT*> m_AtomicsTT;
CSchemaPtrMap<AtomicTypeInfo_TTF_t, CSchemaType_Atomic_TTF*> m_AtomicsTTF;
CSchemaPtrMap<AtomicTypeInfo_I_t, CSchemaType_Atomic_I*> m_AtomicsI; CSchemaPtrMap<AtomicTypeInfo_I_t, CSchemaType_Atomic_I*> m_AtomicsI;
CSchemaPtrMap<uint, CSchemaType_DeclaredClass*> m_DeclaredClasses; CSchemaPtrMap<uint, CSchemaType_DeclaredClass*> m_DeclaredClasses;
CSchemaPtrMap<uint, CSchemaType_DeclaredEnum*> m_DeclaredEnums; CSchemaPtrMap<uint, CSchemaType_DeclaredEnum*> m_DeclaredEnums;

View File

@ -711,8 +711,7 @@ class CThreadSpinMutex
public: public:
CThreadSpinMutex( const char* pDebugName = NULL ) CThreadSpinMutex( const char* pDebugName = NULL )
: m_ownerID( 0 ), : m_ownerID( 0 ),
m_depth( 0 ), m_depth( 0 )
m_pDebugName( NULL/*pDebugName*/ )
{ {
} }
@ -814,7 +813,6 @@ public:
private: private:
volatile ThreadId_t m_ownerID; volatile ThreadId_t m_ownerID;
int m_depth; int m_depth;
const char* m_pDebugName;
}; };
class ALIGN128 CAlignedThreadFastMutex : public CThreadSpinMutex class ALIGN128 CAlignedThreadFastMutex : public CThreadSpinMutex