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

Summary

We learned a lot in this chapter about improving the memory usage in heavy multithreading applications, managing and coordinating the garbage collection service, and using an object-oriented approach for splitting jobs into well-managed pieces, easily and dynamically. Specifically, we covered:

  • Calling specific methods to control the garbage collection and solving memory problems related to running concurrent threads many times
  • Reclaiming unused memory at the right time to avoid running out of memory space in heavy duty algorithms
  • Developing highly optimized multithreaded algorithms
  • Creating new classes to easily generalize the complex job splitting process and to control everything related to parallelized algorithms with multiple threads

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