Chapter 9. Multithreaded Programming

IN BRIEF

This chapter illustrates the benefits of multithreaded programming, as well as the technical details involved in using threads in your applications. The first section talks about the basics of multithreaded programming. You will learn how to create, pause, join, stop, and terminate threads. Next, the chapter illustrates thread synchronization in depth. You will learn why you need to synchronize threads and the various methods of doing so. Finally, you will see examples of the use of the thread pool class. You will learn how to create worker threads and post work items to a thread pool.

WHAT YOU NEED

RECOMMENDED SOFTWARE.NET Framework C#.NET environment
RECOMMENDED HARDWARE.NET-enabled desktop client ...

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.