O'Reilly logo

C# 2008 and 2005 Threaded Programming: Beginner's Guide by Gastón C. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Dynamically Splitting Jobs into Pieces—Avoiding Problems

In order to dynamically split jobs into pieces without huge memory consumption, we can generalize the splitting procedures using object-oriented capabilities offered by the C# programming language and some .NET runtime tricks. In this chapter, we will improve our capabilities to split linear algorithms into parallelized ones, and we will create classes to simplify our work. Reading it and following the exercises we shall:

  • Solve and avoid memory problems related to running concurrent threads many times
  • Optimize multithreaded algorithms to improve their performance
  • Discover how to generalize the complex job-splitting process
  • Learn to uses classes in order to create simpler multithreaded ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required