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

Summary

We learned a lot in this chapter about working with threads using the BackgroundWorker component. Specifically, we covered:

  • Developing applications that are able to create background threads using the BackgroundWorker component, and showing the progress taking advantage of the methods provided by this component for that action
  • Programming the threads' code to be executed by the BackgroundWorker
  • Understanding the differences between synchronous and asynchronous execution and how they are related to threads
  • Reporting the progress of multiple threads in the user interface
  • Starting and cancelling threads created using BackgroundWorker instances
  • Launching multiple threads using many BackgroundWorker components and certain code patterns

We also discussed ...

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