Freigeben über


CComCritSecLock::CComCritSecLock

The constructor.

CComCritSecLock(
   TLock& cs,
   bool bInitialLock = true 
);

Parameters

  • cs
    The critical section object.

  • bInitialLock
    The initial lock state: true means locked.

Remarks

Initializes the critical section object.

Requirements

Header: atlbase.h

See Also

Concepts

CComCritSecLock Class

CComCritSecLock Members

CComCritSecLock::~CComCritSecLock