commit 2025-09-04 22:55 edit a bit ZCppMainTest/ZtCThreadEx_000.cpp & ZCppMainTest/ZtCThreadEx_001.cpp
This commit is contained in:
@ -26,9 +26,11 @@ namespace ZNsMain
|
||||
|
||||
class CThreadMy : public ZNsMain::ZtCThreadEx<CThreadMy>
|
||||
{
|
||||
public:
|
||||
public :
|
||||
typedef ZNsMain::ZtCThreadEx<CThreadMy> TypeBase;
|
||||
public:
|
||||
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>*/
|
||||
|
||||
|
@ -25,11 +25,13 @@ namespace ZNsMain
|
||||
|
||||
class ZCThreadMy : public ZNsMain::ZtCThreadEx<ZCThreadMy>
|
||||
{
|
||||
public:
|
||||
public :
|
||||
typedef ZNsMain::ZtCThreadEx<ZCThreadMy> TypeBase;
|
||||
public:
|
||||
public :
|
||||
friend class ZNsMain:: ZtCThreadEx<ZCThreadMy>;
|
||||
public :
|
||||
static int GI_CallCnt;
|
||||
public:
|
||||
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