commit 2025-09-01 00:43 edit a bit ZCppMain/ZMainHead.H
This commit is contained in:
@ -3279,11 +3279,11 @@ namespace ZNsMain
|
||||
{
|
||||
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()");
|
||||
}/*
|
||||
if((VL_ErrCode=::pthread_mutex_lock(&mo_Mutex))!=0)*/
|
||||
if((VL_ErrCode = ::pthread_mutex_lock(&mo_Mutex))!=0)*/
|
||||
}/*
|
||||
void Lock() throw(ZCExceptSmallLock&)*/
|
||||
|
||||
@ -3308,11 +3308,11 @@ namespace ZNsMain
|
||||
|
||||
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()");
|
||||
}/*
|
||||
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&)*/
|
||||
|
||||
@ -3320,11 +3320,11 @@ namespace ZNsMain
|
||||
{
|
||||
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()");
|
||||
}/*
|
||||
if((VL_ErrCode=::pthread_mutex_destroy(&mo_Mutex))!=0)*/
|
||||
if((VL_ErrCode = ::pthread_mutex_destroy(&mo_Mutex))!=0)*/
|
||||
}/*
|
||||
~ZCMutexSmallInit() throw(ZCExceptSmallLock&)*/
|
||||
|
||||
@ -3404,11 +3404,11 @@ namespace ZNsMain
|
||||
|
||||
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()");
|
||||
}/*
|
||||
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&)*/
|
||||
|
||||
@ -3416,11 +3416,11 @@ namespace ZNsMain
|
||||
{
|
||||
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()");
|
||||
}/*
|
||||
if((VL_ErrCode=::pthread_mutex_destroy(&mo_Mutex))!=0)*/
|
||||
if((VL_ErrCode= ::pthread_mutex_destroy(&mo_Mutex))!=0)*/
|
||||
}/*
|
||||
~ZCMutexSmallInit() throw(ZCExceptSmallLock&)*/
|
||||
|
||||
|
Reference in New Issue
Block a user