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