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

C# Multithreaded and Parallel Programming

C# Multithreaded and Parallel Programming

Автор:
Год:
Страниц:
344
Просмотров:
1825
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.
Похожее
Разработка обслуживаемых программ на языке C#
Автор: Джуст Виссер
Год: 2017
Данное практическое руководство познакомит вас с 10 простыми рекомендациями, помогающими писать программное обеспечение, которое легко поддерживать и адаптировать. Эти тезисы сформулированы на основании анализа сотен реальных систем. Написанная консультантами компании Software Improvement Group книга содержит ясные и краткие советы по...
Изучаем C# через разработку игр на Unity, 5-е издание
Автор: Харрисон Ферроне
Год: 2022
Изучение C# через разработку игр на Unity — популярный способ ускоренного освоения мощного и универсального языка программирования, используемого для решения прикладных задач в широком спектре предметных областей. Эта книга дает вам возможность с нуля изучить программирование на C# без зубодробительных...
C# 7 and .NET Core Cookbook
Автор: Dirk Strauss
Год: 2017
Quick solutions to common programming problems with the latest features of C# 7.0, .NET Core 1.1, and Visual Studio 2017. C# has recently been open-sourced and C# 7 comes with a host of new features for building powerful, cross-platform applications....
Pro C# 5.0 and the .NET 4.5 Framework, 6th Edition
Автор: Andrew Troelsen
Год: 2012
Написать сообщение
Тип
Почта
Имя
*Сообщение