摘要: // 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 阅读全文
posted @ 2012-03-27 17:37 瓜蛋 阅读(447) 评论(0) 推荐(0) 编辑