文件名称:MultiThread

  • 所属分类:
  • 进程与线程
  • 资源属性:
  • [Windows] [Visual C] [源码]
  • 上传时间:
  • 2012-12-21
  • 文件大小:
  • 106kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • K***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

如果我们在一个MFC对话框程序里面,点击一个执行延时10秒的按钮,那么在这10秒延时过程中,对话框程序将无法做其他的事,不响应其他的消息,那么它就是一个单线程的程序,因为它本身就拥有一个主线程,主线程处于工作状态,将无法响应其他的消息。

因此,为了让程序更好的处理一些耗时的操作,所以将一些耗时的,并且不直接表现在界面上的一些工作,另开一个线程去操作,因此在这里有必要学习——多线程编程。-If we are in an MFC dialog program inside, click on a button to perform a delay of 10 seconds to 10 seconds delay process, the dialog box procedure will not be able to do other things, do not respond to other messages, it is a single-threaded program, because it itself has a main thread, the main thread is in working condition, will not be able to respond to other messages. Therefore, in order to allow the program to better deal with some time-consuming operation, time-consuming, and not directly to the performance of some of the work on the interface, open a separate thread to operate, so here it is necessary to learn- multi-threaded programming.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





多线程\DEMO\Demo说明.txt

......\....\MultiThread\FirstMultiThread\FirstMultiThread.aps

......\....\...........\................\FirstMultiThread.clw

......\....\...........\................\FirstMultiThread.cpp

......\....\...........\................\FirstMultiThread.dsp

......\....\...........\................\FirstMultiThread.dsw

......\....\...........\................\FirstMultiThread.h

......\....\...........\................\FirstMultiThread.ncb

......\....\...........\................\FirstMultiThread.opt

......\....\...........\................\FirstMultiThread.plg

......\....\...........\................\FirstMultiThread.rc

......\....\...........\................\FirstMultiThreadDlg.cpp

......\....\...........\................\FirstMultiThreadDlg.h

......\....\...........\................\ReadMe.txt

......\....\...........\................\res\FirstMultiThread.ico

......\....\...........\................\...\FirstMultiThread.rc2

......\....\...........\................\resource.h

......\....\...........\................\StdAfx.cpp

......\....\...........\................\StdAfx.h

......\....\...........\.ourthMultiThread\FourthMultiThread.aps

......\....\...........\.................\FourthMultiThread.clw

......\....\...........\.................\FourthMultiThread.cpp

......\....\...........\.................\FourthMultiThread.dsp

......\....\...........\.................\FourthMultiThread.h

......\....\...........\.................\FourthMultiThread.plg

......\....\...........\.................\FourthMultiThread.rc

......\....\...........\.................\FourthMultiThreadDlg.cpp

......\....\...........\.................\FourthMultiThreadDlg.h

......\....\...........\.................\ReadMe.txt

......\....\...........\.................\res\FourthMultiThread.ico

......\....\...........\.................\...\FourthMultiThread.rc2

......\....\...........\.................\resource.h

......\....\...........\.................\StdAfx.cpp

......\....\...........\.................\StdAfx.h

......\....\...........\MultiThread.dsw

......\....\...........\MultiThread.ncb

......\....\...........\MultiThread.opt

......\....\...........\SecondMultiThread\ReadMe.txt

......\....\...........\.................\res\SecondMultiThread.ico

......\....\...........\.................\...\SecondMultiThread.rc2

......\....\...........\.................\resource.h

......\....\...........\.................\SecondMultiThread.aps

......\....\...........\.................\SecondMultiThread.clw

......\....\...........\.................\SecondMultiThread.cpp

......\....\...........\.................\SecondMultiThread.dsp

......\....\...........\.................\SecondMultiThread.h

......\....\...........\.................\SecondMultiThread.plg

......\....\...........\.................\SecondMultiThread.rc

......\....\...........\.................\SecondMultiThreadDlg.cpp

......\....\...........\.................\SecondMultiThreadDlg.h

......\....\...........\.................\StdAfx.cpp

......\....\...........\.................\StdAfx.h

......\....\...........\ThirdMultiThread\ReadMe.txt

......\....\...........\................\res\ThirdMultiThread.ico

......\....\...........\................\...\ThirdMultiThread.rc2

......\....\...........\................\resource.h

......\....\...........\................\StdAfx.cpp

......\....\...........\................\StdAfx.h

......\....\...........\................\ThirdMultiThread.aps

......\....\...........\................\ThirdMultiThread.clw

......\....\...........\................\ThirdMultiThread.cpp

......\....\...........\................\ThirdMultiThread.dsp

......\....\...........\................\ThirdMultiThread.h

......\....\...........\................\ThirdMultiThread.plg

......\....\...........\................\ThirdMultiThread.rc

......\....\...........\................\ThirdMultiThreadDlg.cpp

......\....\...........\................\ThirdMultiThreadDlg.h

......\多线程.txt

......\DEMO\MultiThread\FirstMultiThread\res

......\....\...........\.ourthMultiThread\res

......\....\

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org