文件名称:vcthreads
- 所属分类:
- 进程与线程
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 131kb
- 下载次数:
- 0次
- 提 供 者:
- 田*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
VC 多线程操作实例源代码
如何安全终止线程
如何创建UI线程
如何创建Worker线程
如何等待线程结束
如何挂起和恢复线程
如何获得线程的退出码
如何使用互斥量
如何使用临界区
如何使用事件
如何使用信号量
有此实例代码,多线程无忧!-VC multi-threaded operating source code examples how to safely terminate a thread how to create a UI thread how to create a Worker thread to wait for the end of the thread to suspend and resume threads on how to obtain the exit code of how to use the thread mutex how to use the critical section how to use the event how to use the signal volume of this sample code, multi-threaded worry!
如何安全终止线程
如何创建UI线程
如何创建Worker线程
如何等待线程结束
如何挂起和恢复线程
如何获得线程的退出码
如何使用互斥量
如何使用临界区
如何使用事件
如何使用信号量
有此实例代码,多线程无忧!-VC multi-threaded operating source code examples how to safely terminate a thread how to create a UI thread how to create a Worker thread to wait for the end of the thread to suspend and resume threads on how to obtain the exit code of how to use the thread mutex how to use the critical section how to use the event how to use the signal volume of this sample code, multi-threaded worry!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
vcthreads\如何使用临界区\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