Leadership

Getting Started With the .NET Task Parallel Library: Multi-Core Case Studies

Download Now Free registration required

Executive Summary

The forerunner to this paper, Getting Started with Task Parallel Library, explained how to use the Task Parallel Library (TPL) to launch swarms of tasks on separate threads that execute on all the computer's available CPUs. That paper used basic stripped-down examples to demonstrate TPL concepts. But as usual, there's a difference between theory and practice. While simple examples make understanding the TPL parts of the code easier, they're not very realistic. As a bridge between learning and practice, this paper describes a series of programs originally created as sequential programs, but converted to use the TPL. They demonstrate various techniques for preventing different threads from interfering with each other.

  • Format: HTML
  • Size: 0 KB