Advertisement
Search  
Always will be ready notify the world about expectations as easy as possible: job change page
Books for developers

C# Multithreaded and Parallel Programming

C# Multithreaded and Parallel Programming

Author: Rodney Ringler
Year: 2014
Format: PDF
Pages: 344
Views: 1649

14,11 MB
Description

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.
Similar
C# 7 and .NET Core: Modern Cross-Platform Development, 2nd Edition
Автор: Mark J. Price
Год: 2017
Страниц: 791
C# has recently been made open source and now supports cross-platform development for Linux, macOS, and Windows. It can be used to create everything from business applications, websites, and services to games for Android and iOS mobile phones and Xbox...
Pro Silverlight 5 in C#, 4th Edition
Автор: Matthew MacDonald
Год: 2012
Страниц: 970
Effective C# (Covers C# 6.0): 50 Specific Ways to Improve Your C#, 3rd Edition
Автор: Bill Wagner
Год: 2017
Страниц: 600
Now fully updated to reflect C# 7.0’s latest capabilities and newest best practices, Effective C#, Third Edition will help you harness its full power to write exceptionally robust, efficient, maintainable, and well-performing code. Using the concise, scenario-driven style pioneered in...
Асинхронное программирование в C# 5.0
Автор: Алекс Дэвис
Год: 2013
Страниц: 122
Средства асинхронного программирования - мощный механизм, добавленный в версию 5.0 языка программирования C#. Это произошло как раз в тот момент, когда производительность и распараллеливание вызывают всё более пристальный интерес у разработчиков программного обеспечения. При правильном использовании новые средства позволяют создавать...
Send message
Email
Your name
*Message


© 1999–2024 WebDynamics
1980–... Sergey Drozdov
Area of interests: .NET Framework | .NET Core | C# | ASP.NET | Windows Forms | WPF | HTML5 | CSS3 | jQuery | AJAX | Angular | React | MS SQL Server | Transact-SQL | ADO.NET | Entity Framework | IIS | OOP | OOA | OOD | WCF | WPF | MSMQ | MVC | MVP | MVVM | Design Patterns | Enterprise Architecture | Scrum | Kanban