CCriticalSection

A CCriticalSection object represents a critical section, which is a synchronization object that allows one thread at a time to access a resource or section of code. Critical sections are useful when only one thread at a time can be allowed to modify data or some other controlled resource.

At a Glance

Header file: Afxmt.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

Synchronization Classes