Wednesday, November 29, 2017

MULTITHREADING

Multithreading is a feature provided by the operating system that enables your application to have more than on execution path at the same time. We use the thread functionality in our project by using System.Threading namespace. A thread in .Net is represented by the System.Threading.Thread class. We can create multiple threads in our program by creating multiple instances (object) of this class. A thread starts its execution by calling the specific method and terminates when the execution of that method gets completed.

The most commonly used instance members of thread class are:

Member

Name

Priority

IsAlive

ThreadState

Start()

Abort()

Suspend()

Resume()

Join()


No comments:

Post a Comment