commit 2025-09-09 23:32 edit a bit ZCppMain/ZCProcess_Linux.H

This commit is contained in:
2025-09-09 23:33:02 +09:00
parent d4c5014bd8
commit 707711607d

View File

@ -3464,22 +3464,32 @@ namespace ZNsMain
{ {
_DEBUG_REENTRANT_CHECK_ _DEBUG_REENTRANT_CHECK_
mh_ThreadID =rhs.mh_ThreadID ; mh_ThreadID = 0 ;
(TTypeBase&)(*this)=static_cast<const TTypeBase&>(rhs); }/*
} ZtCThread(const ZtCThread& rhs):TTypeBase(rhs)*/
template<typename TTypeArg> template<typename TTypeArg>
ZtCThread(const TTypeArg& AR_TTypeArg):TTypeBase(AR_TTypeArg) ZtCThread(const TTypeArg& AR_TTypeArg) : TTypeBase(AR_TTypeArg)
{ {
_DEBUG_REENTRANT_CHECK_ _DEBUG_REENTRANT_CHECK_
mh_ThreadID = 0 ; mh_ThreadID = 0 ;
} }/*
template<typename TTypeArg>
ZtCThread(const TTypeArg& AR_TTypeArg) : TTypeBase(AR_TTypeArg)
*/
ZtCThread& operator=(const ZtCThread& rhs) ZtCThread& operator=(const ZtCThread& rhs)
{ {
return *this; *(TTypeBase*)(this) = rhs; return *this;
}/* }/*
ZtCThread& operator=(const ZtCThread& rhs)*/ ZtCThread& operator=(const ZtCThread& rhs)*/
ZtCThread& operator=(const TTypeBase& AR_CBaseType)
{
*(TTypeBase*)(this) = AR_CBaseType; return *this;
}/*
ZtCThread& operator=(const TTypeBase& AR_CBaseType)*/
operator ThreadID () const operator ThreadID () const
{ {