Debugging Task-Based Parallel Applications in Visual Studio 2010

< Go Back

Writing multi-threaded and parallel code is increasingly required in order for developers to take advantage of modern multicore hardware. One common scheme used for parallelism is task-based programming -- breaking a given work into multiple tasks that can be given to a pool of execution threads to perform. Visual Studio 2010 provides a number of new tools to help developers write and debug parallel code. This article describes how Visual Studio debugger tools such as Parallel Tasks and Parallel Stacks aid developers in finding and removing errors such as deadlocks and lock convoys from parallel applications.

Online Version