commit 2025-09-07 00:27 add ZCppMainTest/ZtCThreadEx_002_MutexCond.cpp
This commit is contained in:
@ -113,15 +113,18 @@ namespace ZNsMain
|
||||
|
||||
static int Main(int AI_ArgCnt=0, char* APP_ArgVal[]=0)
|
||||
{
|
||||
ZCThreadMy VO_CThreadMy ;
|
||||
ZCThreadMy VO_CThreadMy1 ;
|
||||
ZCThreadMy VO_CThreadMy2 ;
|
||||
ZCThreadMy VO_CThreadMy3 ;
|
||||
ZCThreadMy VO_CThreadMy4 ;
|
||||
|
||||
VO_CThreadMy.Make();
|
||||
VO_CThreadMy1.Make();
|
||||
cout<<"# Press Enter to continue."<<endl; cin.get();
|
||||
VO_CThreadMy.Make(ZftMCP(ZCThreadMy::GI_CallCnt));
|
||||
VO_CThreadMy2.Make(ZftMCP(ZCThreadMy::GI_CallCnt));
|
||||
cout<<"# Press Enter to continue."<<endl; cin.get();
|
||||
VO_CThreadMy.Make(ZftMCP(ZCThreadMy::GI_CallCnt), ZftMCP(ZCThreadMy::GI_CallCnt));
|
||||
VO_CThreadMy3.Make(ZftMCP(ZCThreadMy::GI_CallCnt), ZftMCP(ZCThreadMy::GI_CallCnt));
|
||||
cout<<"# Press Enter to continue."<<endl; cin.get();
|
||||
VO_CThreadMy.Make(ZftMCP(ZCThreadMy::GI_CallCnt), ZftMCP(ZCThreadMy::GI_CallCnt), ZftMCP(ZCThreadMy::GI_CallCnt));
|
||||
VO_CThreadMy4.Make(ZftMCP(ZCThreadMy::GI_CallCnt), ZftMCP(ZCThreadMy::GI_CallCnt), ZftMCP(ZCThreadMy::GI_CallCnt));
|
||||
cout<<"# Press Enter to continue."<<endl; cin.get();
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user