我爱Aspx >> VB.Net >> 介绍VB.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.
【我对这篇文章有话说?】
一步一步安装VB.Net(图片较多,..[05-20]
走近VB.Net(一),VB中的族,类,..[05-20]
VB.Net中文教程(1) 类别与封装性[05-20]
VB.Net中文教程(2) Composite样式[05-20]
VB.Net中文教程(3) 继承与封装性[05-20]
VB.Net中文教程(4) 类别继承(Inh..[05-20]
VB.Net中文教程(5)程序多重定义[05-20]
VB.Net中文教程(6) 母子对象关系[05-20]
VB.Net中文教程(7) Me参考值[05-20]
VB.Net中文教程(8) 对象(Object)..[05-20]
一步一步安装VB.Net(图片较多,..[05-20]
走近VB.Net(一),VB中的族,类,..[05-20]
VB.Net中文教程(1) 类别与封装性[05-20]
VB.Net中文教程(2) Composite样式[05-20]
VB.Net中文教程(3) 继承与封装性[05-20]
VB.Net中文教程(4) 类别继承(Inh..[05-20]
VB.Net中文教程(5)程序多重定义[05-20]
VB.Net中文教程(6) 母子对象关系[05-20]
VB.Net中文教程(7) Me参考值[05-20]
VB.Net中文教程(8) 对象(Object)..[05-20]