文件名称:vcthreads
介绍说明--下载内容均来自于网络,请自行研究使用
10个VC++多线程操作实例源代码,内容涉及如何安全终止线程、如何创建UI线程、如何创建Worker线程、如何等待线程结束、如何挂起和恢复线程、如何获得线程的退出码、如何使用互斥量、如何使用临界区、如何使用信号量等内容,入门者更应该看一看,多线程的使用很广泛,可以提高程序效率-10 VC++ multi-threaded operation examples of source code, content involves how to safely terminate a thread, how to create a UI thread Worker thread, how to create, how to wait for the thread end, to suspend and resume the thread, how to get the thread exit code, how to use a mutex, how to use critical zone, how to use the semaphore etc., beginners should look, multi-threaded use is extensive, can improve the efficiency of procedures
(系统自动生成,下载前可以参看下载内容)
下载文件列表
如何安全终止线程\Demo\ReadMe.txt
................\....\Demo.h
................\....\DemoDlg.h
................\....\resource.h
................\....\StdAfx.h
................\....\Demo.cpp
................\....\DemoDlg.cpp
................\....\StdAfx.cpp
................\....\Demo.dsp
................\....\Demo.dsw
................\....\res\Demo.ico
................\....\...\Demo.rc2
................\....\Demo.plg
................\....\Demo.rc
....创建UI线程\Demo\ReadMe.txt
..............\....\Demo.h
..............\....\DemoDlg.h
..............\....\resource.h
..............\....\StdAfx.h
..............\....\ThreadDlg.h
..............\....\UIThread.h
..............\....\Demo.cpp
..............\....\DemoDlg.cpp
..............\....\StdAfx.cpp
..............\....\ThreadDlg.cpp
..............\....\UIThread.cpp
..............\....\Demo.dsp
..............\....\Demo.dsw
..............\....\res\Demo.ico
..............\....\...\Demo.rc2
..............\....\Demo.plg
..............\....\Demo.rc
........Worker线程\Demo\ReadMe.txt
..................\....\Demo.h
..................\....\DemoDlg.h
..................\....\resource.h
..................\....\StdAfx.h
..................\....\Demo.cpp
..................\....\DemoDlg.cpp
..................\....\StdAfx.cpp
..................\....\Demo.dsp
..................\....\Demo.dsw
..................\....\res\Demo.ico
..................\....\...\Demo.rc2
..................\....\Demo.plg
..................\....\Demo.rc
....等待线程结束\Demo\ReadMe.txt
................\....\Demo.h
................\....\DemoDlg.h
................\....\resource.h
................\....\StdAfx.h
................\....\Demo.cpp
................\....\DemoDlg.cpp
................\....\StdAfx.cpp
................\....\Demo.dsp
................\....\Demo.dsw
................\....\res\Demo.ico
................\....\...\Demo.rc2
................\....\Demo.plg
................\....\Demo.rc
....挂起和恢复线程\Demo\ReadMe.txt
..................\....\Demo.h
..................\....\DemoDlg.h
..................\....\resource.h
..................\....\StdAfx.h
..................\....\Demo.cpp
..................\....\DemoDlg.cpp
..................\....\StdAfx.cpp
..................\....\Demo.dsp
..................\....\Demo.dsw
..................\....\res\Demo.ico
..................\....\...\Demo.rc2
..................\....\Demo.plg
..................\....\Demo.rc
....获得线程的退出码\Demo\ReadMe.txt
....................\....\Demo.h
....................\....\DemoDlg.h
....................\....\MyThread1.h
....................\....\MyThread2.h
....................\....\resource.h
....................\....\StdAfx.h
....................\....\Demo.cpp
....................\....\DemoDlg.cpp
....................\....\MyThread1.cpp
....................\....\MyThread2.cpp
....................\....\StdAfx.cpp
....................\....\Demo.dsp
....................\....\Demo.dsw
....................\....\res\Demo.ico
....................\....\...\Demo.rc2
....................\....\Demo.plg
....................\....\Demo.rc
....使用互斥量\Demo\ReadMe.txt
..............\....\Demo.h
..............\....\DemoDlg.h
..............\....\resource.h
..............\....\StdAfx.h
..............\....\Demo.cpp
..............\....\DemoDlg.cpp
..............\....\StdAfx.cpp
................\....\Demo.h
................\....\DemoDlg.h
................\....\resource.h
................\....\StdAfx.h
................\....\Demo.cpp
................\....\DemoDlg.cpp
................\....\StdAfx.cpp
................\....\Demo.dsp
................\....\Demo.dsw
................\....\res\Demo.ico
................\....\...\Demo.rc2
................\....\Demo.plg
................\....\Demo.rc
....创建UI线程\Demo\ReadMe.txt
..............\....\Demo.h
..............\....\DemoDlg.h
..............\....\resource.h
..............\....\StdAfx.h
..............\....\ThreadDlg.h
..............\....\UIThread.h
..............\....\Demo.cpp
..............\....\DemoDlg.cpp
..............\....\StdAfx.cpp
..............\....\ThreadDlg.cpp
..............\....\UIThread.cpp
..............\....\Demo.dsp
..............\....\Demo.dsw
..............\....\res\Demo.ico
..............\....\...\Demo.rc2
..............\....\Demo.plg
..............\....\Demo.rc
........Worker线程\Demo\ReadMe.txt
..................\....\Demo.h
..................\....\DemoDlg.h
..................\....\resource.h
..................\....\StdAfx.h
..................\....\Demo.cpp
..................\....\DemoDlg.cpp
..................\....\StdAfx.cpp
..................\....\Demo.dsp
..................\....\Demo.dsw
..................\....\res\Demo.ico
..................\....\...\Demo.rc2
..................\....\Demo.plg
..................\....\Demo.rc
....等待线程结束\Demo\ReadMe.txt
................\....\Demo.h
................\....\DemoDlg.h
................\....\resource.h
................\....\StdAfx.h
................\....\Demo.cpp
................\....\DemoDlg.cpp
................\....\StdAfx.cpp
................\....\Demo.dsp
................\....\Demo.dsw
................\....\res\Demo.ico
................\....\...\Demo.rc2
................\....\Demo.plg
................\....\Demo.rc
....挂起和恢复线程\Demo\ReadMe.txt
..................\....\Demo.h
..................\....\DemoDlg.h
..................\....\resource.h
..................\....\StdAfx.h
..................\....\Demo.cpp
..................\....\DemoDlg.cpp
..................\....\StdAfx.cpp
..................\....\Demo.dsp
..................\....\Demo.dsw
..................\....\res\Demo.ico
..................\....\...\Demo.rc2
..................\....\Demo.plg
..................\....\Demo.rc
....获得线程的退出码\Demo\ReadMe.txt
....................\....\Demo.h
....................\....\DemoDlg.h
....................\....\MyThread1.h
....................\....\MyThread2.h
....................\....\resource.h
....................\....\StdAfx.h
....................\....\Demo.cpp
....................\....\DemoDlg.cpp
....................\....\MyThread1.cpp
....................\....\MyThread2.cpp
....................\....\StdAfx.cpp
....................\....\Demo.dsp
....................\....\Demo.dsw
....................\....\res\Demo.ico
....................\....\...\Demo.rc2
....................\....\Demo.plg
....................\....\Demo.rc
....使用互斥量\Demo\ReadMe.txt
..............\....\Demo.h
..............\....\DemoDlg.h
..............\....\resource.h
..............\....\StdAfx.h
..............\....\Demo.cpp
..............\....\DemoDlg.cpp
..............\....\StdAfx.cpp