commit 2025-09-04 22:55 edit a bit ZCppMainTest/ZtCThreadEx_000.cpp & ZCppMainTest/ZtCThreadEx_001.cpp
This commit is contained in:
@ -29,6 +29,8 @@ namespace ZNsMain
|
||||
public :
|
||||
typedef ZNsMain::ZtCThreadEx<CThreadMy> TypeBase;
|
||||
public :
|
||||
friend class ZNsMain:: ZtCThreadEx<CThreadMy>;
|
||||
private:
|
||||
|
||||
void Init()
|
||||
{
|
||||
@ -106,6 +108,7 @@ namespace ZNsMain
|
||||
cout<<"* Init3() : "<<AR_KeyCStr<<", "<<AR_KeyCStr2<<", "<<AR_KeyCStr3<<endl;
|
||||
}
|
||||
|
||||
private:
|
||||
};/*
|
||||
class CThreadMy : public ZNsMain::ZtCThreadEx<CThreadMy>*/
|
||||
|
||||
|
@ -28,8 +28,10 @@ namespace ZNsMain
|
||||
public :
|
||||
typedef ZNsMain::ZtCThreadEx<ZCThreadMy> TypeBase;
|
||||
public :
|
||||
static int GI_CallCnt;
|
||||
friend class ZNsMain:: ZtCThreadEx<ZCThreadMy>;
|
||||
public :
|
||||
static int GI_CallCnt;
|
||||
private:
|
||||
|
||||
void Init()
|
||||
{
|
||||
@ -104,6 +106,7 @@ namespace ZNsMain
|
||||
cout<<"* Init3() : "<<++ARRI_CallCnt<<", "<<ARRI_CallCnt2<<", "<<ARRI_CallCnt3<<endl;
|
||||
}
|
||||
|
||||
private:
|
||||
};/*
|
||||
class ZCThreadMy : public ZNsMain::ZtCThreadEx<ZCThreadMy>*/
|
||||
|
||||
|
Reference in New Issue
Block a user