Parallel programming coding guidelines

  This is awesome book from Microsoft on Parallel programming coding guidelines. You can download here: Below is Table content of this book Table of Contents Primitives for Parallel Programming Tasks Parallel.For and Parallel.ForEach Parallel LINQ Concurrent Collections Coordination Primitives Correctness Thread Safety Locks Performance Measure Memory Allocations and Performance Caches and Performance Performance Tools... Continue Reading →

Task Cancellation: Parallel Programming – III

This is my third article on Parallel programming. Last two articles are on Data Parallelism and Task Parallelism. You can read my previous article here: Begin with Parallel programming in Dotnet 4.0 Task Parallelism: Parallel programming - II Today I am writing about how to cancel parallel tasks in cooperative manner i.e. dotnet framework doesn’t... Continue Reading →

Exception handling in Task Parallel Library

Handling Exceptions in parallel world is always challenge. If you know exceptions can be raised from piece of code then you wrap in try catch block to handle managed exceptions. But sometimes unhandled exceptions can be raised. It is very dangerous to not handle unhandled exceptions because it can stop execution of code unpredictably. Task... Continue Reading →

Task Parallelism: Parallel programming – II

  Please read Begin with Parallel programming in Dotnet 4.0 article if you have not read. Task Parallelism This is strategy to run independent task in parallel way. It focuses on distributing execution process (threads) across different parallel computing nodes.Task parallelism emphasizes the distributed (parallelized) nature of the processing (i.e. threads), as opposed to the... Continue Reading →

Powered by

Up ↑