Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
A thread is defined as the execution path of a program. Each thread defines a unique flow of control. If your application involves complicated and time consuming operations, then it is often helpful to set different execution paths or threads, with each thread performing a particular job.
System.Threading.Thread
Multi threading is a method which can be used when a time consuming task is making the central processing unit idle for a long time when there is some i/o interrupt and more threads are waiting in a queue .
Basically multi threading is a technique to run the threads parallaly whenever there is some interrupt of the threads, then apart from waiting, cpu can process another thread, which makes the higher efficiency of cpu.