資源簡介
C++ 線程的終止(提高篇-實例165).zip
代碼片段和文件信息
//?ExitThread.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“ExitThread.h“
#include?“ExitThreadDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CExitThreadApp
BEGIN_MESSAGE_MAP(CExitThreadApp?CWinApp)
//{{AFX_MSG_MAP(CExitThreadApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CExitThreadApp?construction
CExitThreadApp::CExitThreadApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CEx
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????35712??2013-11-01?15:59??ExitThread\ExitThread.aps
?????文件????????1209??2013-11-01?16:06??ExitThread\ExitThread.clw
?????文件????????2119??2013-11-01?15:09??ExitThread\ExitThread.cpp
?????文件????????4231??2013-11-01?15:09??ExitThread\ExitThread.dsp
?????文件?????????543??2013-11-01?16:06??ExitThread\ExitThread.dsw
?????文件????????1368??2013-11-01?15:09??ExitThread\ExitThread.h
?????文件???????48640??2013-11-01?16:06??ExitThread\ExitThread.opt
?????文件????????5374??2013-11-01?15:59??ExitThread\ExitThread.rc
?????文件????????4812??2013-11-01?16:04??ExitThread\ExitThreadDlg.cpp
?????文件????????1457??2013-11-01?15:57??ExitThread\ExitThreadDlg.h
?????文件????????3651??2013-11-01?15:09??ExitThread\ReadMe.txt
?????文件?????????780??2013-11-01?15:53??ExitThread\Resource.h
?????文件?????????212??2013-11-01?15:09??ExitThread\StdAfx.cpp
?????文件????????1054??2013-11-01?15:09??ExitThread\StdAfx.h
?????文件????????1078??2013-11-01?15:09??ExitThread\res\ExitThread.ico
?????文件?????????402??2013-11-01?15:09??ExitThread\res\ExitThread.rc2
- 上一篇:C++ 利用互斥對象實現線程同步
- 下一篇:C++ 設置文件只讀屬性
評論
共有 條評論