From 94edff99966b12ccf3506b223dbdfb9f1e320583 Mon Sep 17 00:00:00 2001 From: sauron Date: Mon, 1 Sep 2025 00:43:22 +0900 Subject: [PATCH] commit 2025-09-01 00:43 edit a bit ZCppMain/ZMainHead.H --- ZCppMain/ZMainHead.H | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/ZCppMain/ZMainHead.H b/ZCppMain/ZMainHead.H index 72a86ff..615092c 100644 --- a/ZCppMain/ZMainHead.H +++ b/ZCppMain/ZMainHead.H @@ -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&)*/