Udostępnij za pośrednictwem


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

Reference

CComCritSecLock Class

CComCritSecLock::~CComCritSecLock

Other Resources

CComCritSecLock Members