Chapter 6. Processes and Threads

Processes and threads are two of the most exciting and useful features in Windows. Processes give you the ability to run multiple programs on a Windows machine at one time. Threads allow you to break up a single program into multiple threads of execution. In this chapter you will learn how to create new threads within your applications so that your applications make better use of the system. Threads also let you take advantage of the extra CPU power available in machines that contain multiple processors.

Compatibility Note: All of the code in this chapter works identically in both Windows 2000 and Windows 98. Note, however, that Windows 98 can use only one processor per machine, while Windows 2000 can make use ...

Get Win32 System Services: The Heart of Windows® 98 and Windows® 2000 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.