Synchronization Objects

Because Windows 9x and Windows NT/2000 have preemptive multitasking, the possibility of two threads that access the same memory within a process is a problem. Some threads do not access memory or perform operations that have an impact on other threads within the process. However, if threads do share process resources, system resources, or need to execute in cooperation with each other, some sort of synchronization has to occur. The Win32 API provides synchronization objects to allow the threads to work with each other without corrupting memory. Synchronization objects allow access to system resources to be controlled between threads of the same or different processes.

The three basic types of synchronization objects are ...

Get Microsoft Windows 2000 API SuperBible 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.