CComFakeCriticalSection

This class mirrors 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 defined as CComFakeCriticalSection using the typedef keyword.

At a Glance

Header file: Atlbase.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

class CcomFakeCriticalSection

See Also

CComCriticalSection, CComSingleThreadModel, CComMultiThreadModelNoCS