O'Reilly logo

Developer’s Guide to Collections in Microsoft® .NET by Calvin “Lee” Janes

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 8. Using Threads with Collections

After completing this chapter, you will be able to

  • Understand what a thread is.

  • Understand why you should synchronize access to collections.

  • Identify what tools are available to help you synchronize access to collections and when to use each one.

  • Add synchronization support to your custom collection classes.

What Is a Thread?

Windows is a multitasking operating system. From the user’s point of view, this means that multiple processes seem to run at the same time. From the system viewpoint, multitasking is far more complex than that. You can find many books that go into the inner workings of processes and multitasking, but doing so is beyond the scope of this book. Instead, this section provides only the most ...

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