摘要:
#include "stdafx.h" #include #include #include using namespace std; int buffer[4]; int iCountOfProduct=10; HANDLE hSemaphoreFull; HANDLE hSemaphoreEmpty; int gi=0; int gj=0; CRITICAL_SECTION ...
阅读全文
posted @ 2016-12-13 16:51
龙城狂拽酷炫霸
阅读(1588)
推荐(0)
编辑
摘要:
#include "stdafx.h" #include #include using namespace std; HANDLE hSemaphoreA; HANDLE hSemaphoreB; HANDLE hSemaphoreC; int num=0; unsigned int __stdcall FunA(LPVOID p) { while(num<99...
阅读全文
posted @ 2016-12-13 12:07
龙城狂拽酷炫霸
阅读(583)
推荐(0)
编辑