Team LiB
Previous Section Next Section

Summary

This chapter started you off with an introduction to the Thread class and the basic concepts behind multithreaded programming and how the various Windows operating systems use pre-emptive multitasking. Building on this knowledge, this chapter covered the core issues surrounding multithreaded programming: synchronization and thread-safe data. You saw how to use the lock keyword, the Monitor class, and the Mutex class to provide thread safety for your processes. Finally, this chapter examined the thread pool as a simplified way of queuing work items.

    Team LiB
    Previous Section Next Section