RU EN
Книги для разработчиков

C# Multithreaded and Parallel Programming

C# Multithreaded and Parallel Programming

Автор:
Год:
Страниц:
344
Просмотров:
1826
C# Multithreaded and Parallel Programming favorites 0
Описание

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.
Похожее
Software Architecture with C# 9 and .NET 5, Second Edition
Автор: Gabriel Baptista, Francesco Abbruzzese
Год: 2020
Design scalable and high-performance enterprise applications using the latest features of C# 9 and .NET 5.Key Features Gain fundamental and comprehensive software architecture knowledge and the skillset to create fully modular apps. Design high-performance...
Язык программирования C# 5.0 и платформа .NET 4.5
Автор: Эндрю Троелсен
Год: 2013
C# 7 и .NET Core. Кросс-платформенная разработка для профессионалов
Автор: Марк Дж. Прайс
Год: 2018
C# 7 — новая мощная и многофункциональная версия популярнейшего языка программирования от Майкрософт. Вы встретите немало интересных книг по языку C# и платформе .NET, однако в большинстве из них лишь мельком рассматривается столь важный аспект, как кросс-платформенная разработка. Научитесь писать...
Pro LINQ: Language Integrated Query in C# 2008
Автор: Joseph C. Rattz, Jr.
Год: 2007
Написать сообщение
Тип
Почта
Имя
*Сообщение