...

/

Working with Threads

Working with Threads

This lesson discusses the various ways in which we can create and run threads.

Threads

In one of the previous sections, we defined thread as the smallest unit of execution. In this section, we'll look at all the ways to create threads.

Specifying ThreadStart

The class ThreadStart represents the method that a thread will execute. Essentially, ThreadStart is a delegate. A delegate is nothing but a reference to a method. Delegates are similar to function pointers that exist in C and C++. All delegates implicitly inherit from the System.Delegate ...

Access this course and 1400+ top-rated courses and projects.