期刊文献+

用VB.Net创建多线程和同步的几个问题 被引量:5

Some Problems in Multi-Thread Process Establishing and Synchronizing by VB.NET
在线阅读 下载PDF
导出
摘要  线程使应用分成多个单元执行,在分布式中,实际上使用一个多线程的体系。这些线程之一可能会执行一个ASP.NET页面,该页面会调用组件服务中的一个。由于操作系统要跟踪和确定线程的进度,线程的系统开销会比较大,因此不应该在任何地方都创建新的线程。创建和维护线程的基类是Thread。大部分的Thread成员都是虚成员,只可以由一个特定Thread类的实例访问。为了启动一个新的线程,必须指定一个入口。对资源的同步访问提出了建议。为了确保某线程在访问这些资源时其他线程处于等待状态,可以使用Monitor类和它的相关方法,要使同步线程间共享实例变量,可以使用Interlocket类。 The application divided many units when using multi-thread process, in distributed operating system there's multi-thread process system in use actually. One of these thread processes may apply one ASP.NET page which use one of the module severs. Because OS keeps up with and determine the progress of the thread process, the expenditure of thread process system will be great. Thus we can't establish new thread process anywhere. The base type of establishing and maintaining is Thread. Most members of Thread are virtual one. Thus access is by a specific Thread example. In order to run a new thread process an entrance must be pointed. Suggestion is put forward for the synchronous access of resources. In order to ensure the waiting condition of other thread process when one is visiting these resources, the monitor and its related methods can by used. In order to synchronize the variants between the shared examples among thread process, Interlocket can by used.
作者 王金保 李伟
出处 《抚顺石油学院学报》 2003年第3期65-68,共4页 Journal of Fushun Petroleum Institute
关键词 多线程 VISUAL Bisic.Net 创建 维护 同步 Multi-thread process Visual Basic.Net Establish Maintain Synchronize
  • 相关文献

参考文献10

  • 1李疆星 张艳钗 肖金秀.Visual Basic.NET实用数据库编程[M].北京:冶金工业出版社,2002..
  • 2徐小青 王建成 路晓村 等译.Visual Basic.NET宝典[M].北京:电子工业出版社,2002..
  • 3王海英.一种改进的多线程模型[J].东北林业大学学报,2002,30(1):95-97. 被引量:3
  • 4李宏益 赵明 陈强 译.VISUAL BASIC.NET程序设计[M].北京:清华大学出版社,2002..
  • 5李勤勇 籍亚云 董兴文.VB.NET高级开发指南[M].北京:希望电子出版社,2002..
  • 6EdenB Beres J 徐小青 王建成 路晓村 等译.Visual Basic.NET宝典[M].北京:电子工业出版社,2002..
  • 7杜湘瑜,黄柯棣,段红.一种基于VRML—Java的分布式虚拟环境模型及其实现[J].计算机工程与应用,2002,38(1):133-134. 被引量:8
  • 8李宏益 赵明 陈强 译.[美]Halvorson M VISUAL BASIC NET程序设计[M].北京:清华大学出版社,2002..
  • 9李疆星 张艳钗 肖金秀.Visual Basic NET实用数据库编程[M].北京:冶金工业出版社,2002..
  • 10周炎涛.Windows中的多线程编程技术和实现[J].计算技术与自动化,2002,21(3):109-116. 被引量:10

二级参考文献9

共引文献19

同被引文献17

引证文献5

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部