O'Reilly logo

C# Multithreaded and Parallel Programming by Rodney Ringler

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

In this chapter, we started our journey into the Task Parallel Library and this will be the focus of the rest of the book. You learned about the Task, Action, TaskFactory, Parallel, and TaskScheduler classes.

You also learned what the meaning of lightweight concurrency versus heavyweight concurrency is, and started to see the many benefits for the developer.

The code examples in this chapter were very simple but designed to get you to start thinking from a TPL mindset and out of the Thread and BackgroundWorker mindset. Throughout the rest of this book, we will explore many more detailed features of the TPL classes and several common parallel design patterns and how they are implemented using TPL.

You should already be able to see just how ...

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