Summary

In this chapter, we had a look at how the .NET Framework supports thread concepts. We saw how:

  • We can use the Thread class to create and manage our own threads.

  • We can leverage the ThreadPool class to quickly and easily dispatch work onto multiple threads.

  • The various synchronization mechanisms help programmers avoid thread contention.

  • Variables can be created that are specific and local to individual threads.

The ability to control threads represents a very large step forward for Visual Basic developers, and the rich threading support in the .NET Framework makes syntax easy to understand and clear to implement.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.33.207