摘要:
// Critsetion.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <Windows.h>#include <iostream>#include <process.h>using namespace std;CRITICAL_SECTION g_cs;char name[]="zhangdongsheng";unsigned __stdcall ThreadPoc1( void* pArguments){ while (1) { EnterCriticalSe 阅读全文