Поиск  
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
Просмотров:
1739

Описание

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.
Похожее
C# 6 and .NET Core 1.0 Modern Cross-Platform Development
Автор: Mark J. Price
Год: 2016
With the release of .NET Core 1.0, you can now create applications for Mac OS X and Linux, as well as Windows, using the development tools you know and love. C# 6 and .NET Core 1.0 has been divided into...
The C# Player’s Guide, 3rd Edition
Автор: RB Whitaker
Год: 2016
The C# Player's Guide (3rd Edition) is the ultimate guide for people starting out with C#, whether you are new to programming, or an experienced vet. This guide takes you from your journey's beginning, through the most challenging parts of...
Язык программирования C# 7 и платформы .NET и .NET Core
Автор: Эндрю Троелсен, Филипп Джепикс
Год: 2018
Эта книга представляет собой полный источник сведений о языке программирования C# и о связанной с ним инфраструктуре. В 8-м издании книги вы найдете описание функциональных возможностей самых последних версий C# 7.0 и 7.1 и .NET 4.7, а также совершенно новые...
Pro WPF 4.5 in C#, 4th Edition
Автор: Matthew MacDonald
Год: 2012
Написать сообщение
Тип
Почта
Имя
*Сообщение