Поиск  
Always will be ready notify the world about expectations as easy as possible: job change page
Книги для разработчиков

C# Multithreaded and Parallel Programming

C# Multithreaded and Parallel Programming

Автор:
Год:
Страниц:
344
Просмотров:
1746

Описание

Most modern machines have dual-core processors. This means that the present-day computer has the ability to multitask. Using multiple cores means your applications can process data faster and be more responsive to users. However, to fully exploit this in your applications, you need to write multithreading code.

We will begin by covering some techniques that have been around since the beginning of .NET, including the BackgroundWorker component, timers, and the Thread class. We will use tasks, task factories, and parallel loops to develop multithreaded applications at a higher level than directly creating and managing individual threads. Finally, we will look at the tools Visual Studio provides for debugging parallel applications, common concurrent design patterns, and the latest updates in PLINQ and async.

What You Will Learn:

  • Explore all the essential methods used for programming multithreaded applications;
  • Enhance the performance of an application by designing various parallel operations to achieve concurrency;
  • Build powerful applications using the Task Parallel Library (TPL), which makes concurrent processing of items in a data collection simple;
  • Implement data parallelism using the Parallel library, concurrent collections, and PLINQ;
  • Debug your multithreaded applications using the Threads view, Tasks window, Parallel Stacks window, and Parallel Watch window;
  • Accomplish any given parallel task using two of the most popular parallel patterns for development: Pipelining and producer-consumer;
  • Get to grips with the Asynchronous Programming Model (APM) to learn to begin and end asynchronous operations.
Похожее
Pro C# 5.0 and the .NET 4.5 Framework, 6th Edition
Автор: Andrew Troelsen
Год: 2012
C# Programming Yellow Book
Автор: Rob Miles
Год: 2015
CLR via C#, 3rd Edition
Автор: Jeffrey Richter
Год: 2010
Dig deep and master the intricacies of the common language runtime (CLR) and the .NET Framework 4.0. Written by a highly regarded programming expert and consultant to the Microsoft® .NET team, this guide is ideal for developers building any kind...
Pro .NET 4 Parallel Programming in C#
Автор: Adam Freeman
Год: 2010
Написать сообщение
Тип
Почта
Имя
*Сообщение