共用方式為


CComCriticalSection::m_sec

Contains a critical section object that is used by all CComCriticalSection methods.

CRITICAL_SECTION m_sec;

Requirements

Header: atlcore.h

See Also

Reference

CComCriticalSection Class

CComCriticalSection::Lock

CComCriticalSection::Unlock

CComCriticalSection::Init

CComCriticalSection::Term