• 您的位置我爱Aspx >> VB.Net >> 介绍VB.NET的线程(英文)
  • 介绍VB.NET的线程(英文)

  • 作者:aspxer  来源:internet  日期:2007-5-20 14:01:01  关键字:.net
  • 介绍VB.NET的线程(英文)

    of the most notable new features in VB.NET is the ability to create threads in your application. Visual C++ developers have been able to write multithreaded code for years, but achieving the same effect in VB6 was fraught with difficulty.

    Although this exercise uses VB.NET code, there@#s no reason why you can@#t get the same results using C#.

    What is a thread?

    The first question we need to answer is "what is a thread?" Well, put simply, a thread is like running two programs in the same process. Every piece of software you@#ve written thus far contains at least one thread - the primary application thread.

    For the uninitiated, a process is effectively an instance of a running program on your computer. Say you@#re running both Microsoft Word and Microsoft Excel. Both Word and Excel both run in a separate process, isolated from each other. With Windows 2000, there is also a collection of other programs that run in the background providing things like USB support, network connectivity, and so on. These are called "services", and each one of those runs in its own service too.

    我对这篇文章有话说?
  • 广告位招租,广告代号:content_468_15
  • 上一篇:Visual Basic.NET 中的语言新变化
    下一篇:一步一步安装VB.Net(图片较多,请稍等)