資源簡介
C++ 利用互斥對象實現線程同步(提高篇-實例169).zip
代碼片段和文件信息
//?MutexSynch.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“MutexSynch.h“
#include?“MutexSynchDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMutexSynchApp
BEGIN_MESSAGE_MAP(CMutexSynchApp?CWinApp)
//{{AFX_MSG_MAP(CMutexSynchApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CMutexSynchApp?construction
CMutexSynchApp::CMutexSynchApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMu
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1219??2007-05-08?08:49??MutexSynch\MutexSynch.clw
?????文件????????2119??2007-05-08?08:49??MutexSynch\MutexSynch.cpp
?????文件????????4231??2007-05-08?08:49??MutexSynch\MutexSynch.dsp
?????文件?????????545??2007-05-08?08:49??MutexSynch\MutexSynch.dsw
?????文件????????1368??2007-05-08?08:49??MutexSynch\MutexSynch.h
?????文件???????48640??2013-11-04?09:33??MutexSynch\MutexSynch.opt
?????文件????????5642??2007-05-08?08:49??MutexSynch\MutexSynch.rc
?????文件????????5201??2007-05-08?08:49??MutexSynch\MutexSynchDlg.cpp
?????文件????????1465??2007-05-08?08:49??MutexSynch\MutexSynchDlg.h
?????文件????????3651??2007-05-08?08:49??MutexSynch\ReadMe.txt
?????文件?????????826??2007-05-08?08:49??MutexSynch\resource.h
?????文件?????????212??2007-05-08?08:49??MutexSynch\StdAfx.cpp
?????文件????????1054??2007-05-08?08:49??MutexSynch\StdAfx.h
?????文件?????????112??2007-05-08?08:49??MutexSynch\程序使用說明?.txt
?????文件????????1078??2007-05-08?08:49??MutexSynch\res\MutexSynch.ico
?????文件?????????402??2007-05-08?08:49??MutexSynch\res\MutexSynch.rc2
- 上一篇:C++ 利用動態庫創建窗體模塊
- 下一篇:C++ 線程的終止
評論
共有 條評論