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

Описание

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# 8.0 and .NET Core 3.0 – Modern Cross-Platform Development Build applications with C# NET Core, Entity Framework
Автор: Mark J. Price
Год: 2019
In C# 8.0 and .NET Core 3.0 – Modern Cross-Platform Development, Fourth Edition, expert teacher Mark J. Price gives you everything you need to start programming C# applications.This latest edition uses the popular Visual Studio Code editor to work across...
Pro LINQ: Language Integrated Query in C# 2010
Автор: Joseph Rattz, Adam Freeman
Год: 2010
Асинхронное программирование в C# 5.0
Автор: Алекс Дэвис
Год: 2013
Средства асинхронного программирования - мощный механизм, добавленный в версию 5.0 языка программирования C#. Это произошло как раз в тот момент, когда производительность и распараллеливание вызывают всё более пристальный интерес у разработчиков программного обеспечения. При правильном использовании новые средства позволяют создавать...
Pro C# 5.0 and the .NET 4.5 Framework, 6th Edition
Автор: Andrew Troelsen
Год: 2012
Написать сообщение
Тип
Почта
Имя
*Сообщение