Skip to Main Content
Visual C# 2010 Recipes: A Problem-Solution Approach
book

Visual C# 2010 Recipes: A Problem-Solution Approach

by Allen Jones, Adam Freeman
March 2010
Intermediate to advanced content levelIntermediate to advanced
1016 pages
20h 42m
English
Apress
Content preview from Visual C# 2010 Recipes: A Problem-Solution Approach

Chapter 15. Parallel Programming

With version 4.0 of the .NET Framework, Microsoft introduced a new model for writing applications that need to perform multiple simultaneous tasks—that model is known as parallel programming, and the implementation is called the Task Parallel Library. Unlike the traditional approach to multitasking, where you create and manage a set of threads in your code, the new parallel programming model lets you focus on the tasks you need to accomplish and allows the runtime to create and manage the threads on your behalf.

There key advantage of this approach is that your code is focused on the tasks you need to perform, not the way in which they will be performed. The main disadvantage is that you give up direct control of ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Introducing Visual C# 2010

Introducing Visual C# 2010

Adam Freeman
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

Publisher Resources

ISBN: 9781430225256Purchase book