O'Reilly logo

C# 2008 and 2005 Threaded Programming: Beginner's Guide by Gastón C. Hillar

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

Chapter 3. BackgroundWorker—Putting Threads to Work

In order to be able to create and control threads in our applications, C# offers a very interesting component, the BackgroundWorker. In this chapter, we will study this component in detail, and we will begin developing multithreaded applications that take full advantage of multiprocessing. Reading this and following the exercises we shall:

  • Develop applications that are able to execute tasks in the background while keeping alive the graphical user interface, offering the user a more real-life experience
  • Learn to create independent threads using a simple component
  • Understand the differences between synchronous and asynchronous execution
  • Develop applications that are able to show the progress of their ...

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