文件名称:Visual Basic .NET 中实现后台进程

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

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

多线程是一个功能强大的工具,我们可以在每次需要执行长时间运行的任务时使用该工具。我们可以用它运行辅助代码,而无需绑定用户界面。但同时要注意,多线程操作非常复杂,要正确操作并不容易,而且调试起来也比较困难。 尽管不一定能够实现,但我们还是应该尽量为每个辅助线程提供一组它可以操作的独立数据。要达到这个目的,最简单的方法就是为每个线程创建一个对象,对象中包含该线程可以操作的数据以及完成工作所需的代码。 通过实现结构化的架构,使之充当辅助线程和 UI 线程之间的媒介,我们可以大大简化编写多线程代码和 UI 以对其进行控制的过程。本文就介绍了这样一个架构,您可以根据需要使用或进行调整,以满足特定的应用需要。(附有详细的中文说明)-Multithreading is a powerful tool, we can each time the need to implement the mandate of running the use of this tool. We can use it for running auxiliary code, without the bundled user interface. It should be noted that multi-threaded operation is very complex to operate correctly is not easy, but it is also testing more difficult. Although not necessarily to achieve, but we should still try to provide every support threaded a group it can operate independent of data. To achieve this purpose, the simplest way is to create a thread for each object, object contains the thread can operate and the data necessary to complete the work of the code. Through the structure of the architecture to make it as supporting threads and UI thread between the media, we can greatly simplify the preparation o
相关搜索: 多线程

(系统自动生成,下载前可以参看下载内容)

下载文件列表

................................\Background

................................\..........\ActivityBar.resx

................................\..........\ActivityBar.vb

................................\..........\AssemblyInfo.vb

................................\..........\Background.vbproj

................................\..........\Background.vbproj.user

................................\..........\bin

................................\..........\...\Background.dll

................................\..........\...\Background.pdb

................................\..........\Controller.vb

................................\..........\IClient.vb

................................\..........\IController.vb

................................\..........\IWorker.vb

................................\..........\obj

................................\..........\...\Debug

................................\..........\...\.....\Background.ActivityBar.resources

................................\..........\...\.....\Background.dll

................................\..........\...\.....\Background.pdb

................................\..........\...\.....\CVS

................................\..........\...\.....\...\Entries

................................\..........\...\.....\...\Entries.Log

................................\..........\...\.....\...\Repository

................................\..........\...\.....\...\Root

................................\..........\...\.....\temp

................................\..........\...\.....\TempPE

................................\bgTest

................................\......\AssemblyInfo.vb

................................\......\bgTest.sln

................................\......\bgTest.sln.old

................................\......\bgTest.vbproj

................................\......\bgTest.vbproj.user

................................\......\bin

................................\......\...\Background.dll

................................\......\...\Background.pdb

................................\......\...\bgTest.exe

................................\......\...\bgTest.pdb

................................\......\Form1.resx

................................\......\Form1.vb

................................\......\obj

................................\......\...\Debug

................................\......\...\.....\bgTest.exe

................................\......\...\.....\bgTest.Form1.resources

................................\......\...\.....\bgTest.pdb

................................\......\...\.....\bgTest.Worker.resources

................................\......\...\.....\CVS

................................\......\...\.....\...\Entries

................................\......\...\.....\...\Entries.Log

................................\......\...\.....\...\Repository

................................\......\...\.....\...\Root

................................\......\...\.....\temp

................................\......\...\.....\TempPE

................................\......\Worker.resx

................................\......\Worker.vb

相关说明

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

相关评论

暂无评论内容.

发表评论

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

源码中国 www.ymcn.org