commit 2025-10-04 20:40 replace ZtCMutexCondDataVar with ZtCMutexCondVar : ZCppMain/ZCProcess.H

This commit is contained in:
2025-10-04 20:40:17 +09:00
parent 939d1cc007
commit 8b6ea4118f
2 changed files with 203 additions and 34 deletions

View File

@ -3495,17 +3495,10 @@ namespace ZNsMain
template<typename TType> class ZtCAllocClass : public ZCAllocator
{
public:
#if(_CODE_OLD_)
TType* NewMem (size_t AL_AllocSize){return (TType*)::malloc(AL_AllocSize) ;}
TType* NewArrMem(size_t AL_AllocSize){return (TType*)::malloc(AL_AllocSize*sizeof(TType));}
public:
void DeleteMem(void* AP_Void){if(AP_Void!=0) ::free(AP_Void);}
#else
TType* InitMem (size_t AL_AllocSize){return (TType*)::malloc(AL_AllocSize) ;}
TType* InitArrMem(size_t AL_AllocSize){return (TType*)::malloc(AL_AllocSize*sizeof(TType));}
public:
void FiniMem (void* AP_Void){if(AP_Void!=0) ::free(AP_Void);}
#endif
public:
};/*
template<typename TType> class ZtCAllocClass : public ZCAllocator*/
@ -3514,13 +3507,8 @@ namespace ZNsMain
class ZCAllocClass : public ZCAllocator
{
public:
#if(_CODE_OLD_)
void* NewMem (size_t AL_AllocSize){return ::malloc(AL_AllocSize) ;}
void DeleteMem(void* AP_Void ){if(AP_Void!=0) ::free(AP_Void);}
#else
void* InitMem (size_t AL_AllocSize){return ::malloc(AL_AllocSize) ;}
void FiniMem (void* AP_Void ){if(AP_Void!=0) ::free(AP_Void);}
#endif
public:
};/*
class ZCAllocClass : public ZCAllocator*/