O'Reilly logo

Applied WPF 4 in Context by Raffaele Garofalo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required