Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
This class provides the same methods as CComCriticalSection but does not provide a critical section.
class CComFakeCriticalSection
Remarks
CComFakeCriticalSection mirrors the methods found in CComCriticalSection. However, CComFakeCriticalSection does not provide a critical section; therefore, its methods do nothing.
Typically, you use CComFakeCriticalSection through a typedef name, either AutoCriticalSection or CriticalSection. When using CComSingleThreadModel or CComMultiThreadModelNoCS, both of these typedef names reference CComFakeCriticalSection. When using CComMultiThreadModel, they reference CComAutoCriticalSection and CComCriticalSection, respectively.
Requirements
Header: atlcore.h