首页 | 本学科首页   官方微博 | 高级检索  
     

多线程技术基于VB.NET的实现
引用本文:欧广宇,邓桂英.多线程技术基于VB.NET的实现[J].微机发展,2004,14(11):101-103.
作者姓名:欧广宇  邓桂英
作者单位:上海理工大学计算机工程学院,上海理工大学计算机工程学院 上海200093,上海200093
摘    要:多线程技术是实现需要并发执行的应用程序的较好选择,具有不可替代的作用。文中介绍了进程、线程以及应用程序域的概念及其相互之间的关系,讨论了VisualBasic.NET对多线程的支持。并从线程的创建与管理、线程取消、线程的优先级、线程的状态、线程池、线程的同步等方面展示了如何使用多线程编程技术来创建多线程应用程序。每个线程都需要资源,创建的线程过多,反而会降低应用程序的性能。在设计多线程应用程序时,应慎重对待,建立合理的系统模型,才能使应用程序获得最佳的性能。

关 键 词:.NET框架  VisualBasic.NET  多线程  同步
文章编号:1005-3751(2004)11-0101-03
修稿时间:2004年3月19日

Implementation of Multithread Technique Based on VB.NET
OU Guang-yu,DENG Gui-ying.Implementation of Multithread Technique Based on VB.NET[J].Microcomputer Development,2004,14(11):101-103.
Authors:OU Guang-yu  DENG Gui-ying
Abstract:Multithread as an indispensable technique is a good choice to implement concurrent application.This paper introduces the definitions of process, thread, AppDomain and their relationship, then describes Visual Basic.NET 's support of multithreading. It discusses how to manage the threads, priority, thread pool, synchronization,etc. It also presents how to develop the multithreaded application by multithreading based on Visual Basic .NET. Every thread needs resource. So creating of too many threads will degrade the performance of application. When the multithreaded applications were designed, it must be treated carefully. To get the best performance, a sound system module is necessary to set up.
Keywords:,NET framework,Visual Basic,NET,multithreading,synchronization
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号