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.

Get Microsoft® Visual C#® .NET 2003 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.