摘要:
以下程序用通知事件和临界区来同步// Multhread.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include #include #include //for HANDLE using namespace std; long g_nNum; unsigned int __stdcall Fun(void* pPM)... 阅读全文
posted @ 2019-02-27 11:11
NightCode
阅读(328)
评论(0)
推荐(0)
摘要:
// TmpThread.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include using namespace std; //线程函数 DWORD WINAPI StartAddress(LPVOID lpParameter) { cout << "\nI am a very simple Thread!" <<end... 阅读全文
posted @ 2019-02-27 10:51
NightCode
阅读(409)
评论(0)
推荐(0)

浙公网安备 33010602011771号