commit 2025-08-24 11:07 edit a bit ZCppMain/ZMainHead.H etc
This commit is contained in:
@ -680,19 +680,19 @@ namespace ZNsMain
|
||||
|
||||
#if defined(_WIN) && defined(_REENTRANT)
|
||||
|
||||
static CMutexSmallInit& GetCMutexSmallInit()
|
||||
static ZCMutexSmallInit& GetCMutexSmallInit()
|
||||
{
|
||||
static CMutexSmallInit SO_CMutexSmallInit; return SO_CMutexSmallInit;
|
||||
static ZCMutexSmallInit SO_CMutexSmallInit; return SO_CMutexSmallInit;
|
||||
}/*
|
||||
static CMutexSmallInit& GetCMutexSmallInit()*/
|
||||
static ZCMutexSmallInit& GetCMutexSmallInit()*/
|
||||
|
||||
#endif //defined(_WIN) && defined(_REENTRANT)
|
||||
|
||||
static bool SetLocalTimeObj(time_t AL_TimeSec,struct tm& ARR_StTime)
|
||||
static bool SetLocalTimeObj(time_t AL_TimeSec, struct tm& ARR_StTime)
|
||||
{
|
||||
#ifdef _REENTRANT
|
||||
#ifdef _WIN
|
||||
ZNsMain::CMutexSmallLock VO_CMutexSmallLock(GetCMutexSmallInit());
|
||||
ZNsMain::ZCMutexSmallLock VO_CMutexSmallLock(GetCMutexSmallInit());
|
||||
|
||||
struct tm* VP_StTime = ::localtime(&AL_TimeSec);
|
||||
|
||||
@ -722,7 +722,7 @@ namespace ZNsMain
|
||||
{
|
||||
#if defined(_REENTRANT)
|
||||
#ifdef _WIN
|
||||
ZNsMain::CMutexSmallLock
|
||||
ZNsMain::ZCMutexSmallLock
|
||||
VO_CMutexSmallLock( GetCMutexSmallInit() );
|
||||
|
||||
struct tm* VP_StTime = ::gmtime(&AL_TimeSec);
|
||||
|
Reference in New Issue
Block a user