Introducing Multithreading

A thread is a unit of work. The logic of threading-based programming is performing multiple operations concurrently so that a big operation can be split across multiple threads. The .NET Framework 4.0 offers support for multithreading via the System.Threading namespace. But .NET 4.0 also introduces a new important library, which is discussed in Chapter 45, “Parallel Programming,” which provides support for the parallel computing. For this reason this chapter provides summary information on the multithreading approach so that in next chapter you get more detailed information on the task-based programming.

Imports Directives

Code examples shown in this chapter require an Imports System.Threading directive.

Get Visual Basic® 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.