• 大小: 0.01M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-02-21
  • 标签:

资源简介

C++ 利用临界区实现线程同步(提高篇-实例170).zip

资源截图

代码片段和文件信息

// CriticalSectionSynch.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “CriticalSectionSynch.h“
#include “CriticalSectionSynchDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CCriticalSectionSynchApp

BEGIN_MESSAGE_MAP(CCriticalSectionSynchApp CWinApp)
//{{AFX_MSG_MAP(CCriticalSectionSynchApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//    DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CCriticalSectionSynchApp construction

CCriticalSectionSynchApp::CCriticalSectionSynchApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

////////////

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件        1373  2007-05-08 08:49  CriticalSectionSynch\CriticalSectionSynch.clw
     文件        2259  2007-05-08 08:49  CriticalSectionSynch\CriticalSectionSynch.cpp
     文件        4411  2007-05-08 08:49  CriticalSectionSynch\CriticalSectionSynch.dsp
     文件         565  2007-05-08 08:49  CriticalSectionSynch\CriticalSectionSynch.dsw
     文件        1478  2007-05-08 08:49  CriticalSectionSynch\CriticalSectionSynch.h
     文件       48640  2013-11-04 09:37  CriticalSectionSynch\CriticalSectionSynch.opt
     文件        5777  2007-05-08 08:49  CriticalSectionSynch\CriticalSectionSynch.rc
     文件        5895  2007-05-08 08:49  CriticalSectionSynch\CriticalSectionSynchDlg.cpp
     文件        1582  2007-05-08 08:49  CriticalSectionSynch\CriticalSectionSynchDlg.h
     文件        3831  2007-05-08 08:49  CriticalSectionSynch\ReadMe.txt
     文件         836  2007-05-08 08:49  CriticalSectionSynch\resource.h
     文件         222  2007-05-08 08:49  CriticalSectionSynch\StdAfx.cpp
     文件        1054  2007-05-08 08:49  CriticalSectionSynch\StdAfx.h
     文件         112  2007-05-08 08:49  CriticalSectionSynch\程序使用说明 .txt
     文件        1078  2007-05-08 08:49  CriticalSectionSynch\res\CriticalSectionSynch.ico
     文件         412  2007-05-08 08:49  CriticalSectionSynch\res\CriticalSectionSynch.rc2

评论

共有 条评论