commit 2025-09-01 00:43 edit a bit ZCppMain/ZMainHead.H

This commit is contained in:
2025-09-01 00:43:22 +09:00
parent febe6aafd0
commit 94edff9996

View File

@ -3279,11 +3279,11 @@ namespace ZNsMain
{ {
long VL_ErrCode=0; long VL_ErrCode=0;
if((VL_ErrCode=::pthread_mutex_lock(&mo_Mutex))!=0) if((VL_ErrCode = ::pthread_mutex_lock(&mo_Mutex))!=0)
{ {
throw ZCExceptSmallLock(VL_ErrCode, "ZCMutexSmallInit::Lock()"); throw ZCExceptSmallLock(VL_ErrCode, "ZCMutexSmallInit::Lock()");
}/* }/*
if((VL_ErrCode=::pthread_mutex_lock(&mo_Mutex))!=0)*/ if((VL_ErrCode = ::pthread_mutex_lock(&mo_Mutex))!=0)*/
}/* }/*
void Lock() throw(ZCExceptSmallLock&)*/ void Lock() throw(ZCExceptSmallLock&)*/
@ -3308,11 +3308,11 @@ namespace ZNsMain
long VL_ErrCode=0; long VL_ErrCode=0;
if((VL_ErrCode=::pthread_mutex_init(&mo_Mutex, &VO_MutexAttr))!=0) if((VL_ErrCode = ::pthread_mutex_init(&mo_Mutex, &VO_MutexAttr))!=0)
{ {
throw ZCExceptSmallLock(VL_ErrCode, "ZCMutexSmallInit::ZCMutexSmallInit()"); throw ZCExceptSmallLock(VL_ErrCode, "ZCMutexSmallInit::ZCMutexSmallInit()");
}/* }/*
if((VL_ErrCode=::pthread_mutex_init(&mo_Mutex, &VO_MutexAttr))!=0)*/ if((VL_ErrCode = ::pthread_mutex_init(&mo_Mutex, &VO_MutexAttr))!=0)*/
}/* }/*
ZCMutexSmallInit() throw(ZCExceptSmallLock&)*/ ZCMutexSmallInit() throw(ZCExceptSmallLock&)*/
@ -3320,11 +3320,11 @@ namespace ZNsMain
{ {
long VL_ErrCode=0; long VL_ErrCode=0;
if((VL_ErrCode=::pthread_mutex_destroy(&mo_Mutex))!=0) if((VL_ErrCode = ::pthread_mutex_destroy(&mo_Mutex))!=0)
{ {
throw ZCExceptSmallLock(VL_ErrCode, "ZCMutexSmallInit::~ZCMutexSmallInit()"); throw ZCExceptSmallLock(VL_ErrCode, "ZCMutexSmallInit::~ZCMutexSmallInit()");
}/* }/*
if((VL_ErrCode=::pthread_mutex_destroy(&mo_Mutex))!=0)*/ if((VL_ErrCode = ::pthread_mutex_destroy(&mo_Mutex))!=0)*/
}/* }/*
~ZCMutexSmallInit() throw(ZCExceptSmallLock&)*/ ~ZCMutexSmallInit() throw(ZCExceptSmallLock&)*/
@ -3404,11 +3404,11 @@ namespace ZNsMain
long VL_ErrCode=0; long VL_ErrCode=0;
if((VL_ErrCode=::pthread_mutex_init(&mo_Mutex, &VO_MutexAttr))!=0) if((VL_ErrCode= ::pthread_mutex_init(&mo_Mutex, &VO_MutexAttr))!=0)
{ {
throw ZCExceptSmallLock(VL_ErrCode, "ZCMutexSmallInit::ZCMutexSmallInit()"); throw ZCExceptSmallLock(VL_ErrCode, "ZCMutexSmallInit::ZCMutexSmallInit()");
}/* }/*
if((VL_ErrCode=::pthread_mutex_init(&mo_Mutex, &VO_MutexAttr))!=0)*/ if((VL_ErrCode= ::pthread_mutex_init(&mo_Mutex, &VO_MutexAttr))!=0)*/
}/* }/*
ZCMutexSmallInit() throw(ZCExceptSmallLock&)*/ ZCMutexSmallInit() throw(ZCExceptSmallLock&)*/
@ -3416,11 +3416,11 @@ namespace ZNsMain
{ {
long VL_ErrCode=0; long VL_ErrCode=0;
if((VL_ErrCode=::pthread_mutex_destroy(&mo_Mutex))!=0) if((VL_ErrCode= ::pthread_mutex_destroy(&mo_Mutex))!=0)
{ {
throw ZCExceptSmallLock(VL_ErrCode, "ZCMutexSmallInit::~ZCMutexSmallInit()"); throw ZCExceptSmallLock(VL_ErrCode, "ZCMutexSmallInit::~ZCMutexSmallInit()");
}/* }/*
if((VL_ErrCode=::pthread_mutex_destroy(&mo_Mutex))!=0)*/ if((VL_ErrCode= ::pthread_mutex_destroy(&mo_Mutex))!=0)*/
}/* }/*
~ZCMutexSmallInit() throw(ZCExceptSmallLock&)*/ ~ZCMutexSmallInit() throw(ZCExceptSmallLock&)*/