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 9. Working with Parallelized Input/Output and Data Access

In order to work with real-life applications, we must communicate with the I/O subsystem. We have to read from files, write to files, access tables in databases, and much more. In this chapter, we will combine everything we've learned so far with the possibilities offered by multiple threads to improve algorithms that require parallelized input/output operations, still avoiding some concurrent programming nightmares. Reading it and following the exercises we shall:

  • Learn to easily manage a queue of jobs to be dispatched using a producer/consumer pattern
  • Use object-oriented capabilities to transform single-threaded algorithms into multithreaded scalable jobs
  • Improve the applications' ...

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