CComFakeCriticalSection

CComFakeCriticalSection mirrors the methods found in CComCriticalSection and CComAutoCriticalSection. However, CComFakeCriticalSection does not provide a critical section; therefore, its methods do nothing.

When using the single threaded model (CComSingleThreadModel), or the multi-threaded model without critical sections (CComMultiThreadModelNoCS), CComCriticalSection and CComAutoCriticalSection are both typedef'd as CComFakeCriticalSection.

Syntax

class CComFakeCriticalSection

At a Glance

Header file: Atlbase.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComFakeCriticalSection Methods, CComCriticalSection, CComSingleThreadModel, CComMultiThreadModelNoCS