Writing Multithreading Code in .NET

In the first part of this chapter we'll look what solutions .NET 4 provides for writing and executing multithreaded operations. To execute the code, we will create a demo WPF 4 project with Visual Studio 2010, called “WPF.MultiThreading,” which we'll use to execute the various examples. You can download the code from the Apress web site along with the code related to the TimeTracker application.

The Thread Object

When you turn on your PC and start to work in your operating system (OS), you start to execute parallel processes—applications—and each one is on a different thread. For example, if you have Visual Studio and Notepad open, you are executing two different processes in your OS, each on a different thread. ...

Get Applied WPF 4 in Context 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.