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