다음을 통해 공유


CComCritSecLock Class

This class provides methods for locking and unlocking a critical section object.

template<
   class TLock
> class CComCritSecLock

Parameters

  • TLock
    The object to be locked and unlocked.

Remarks

Use this class to lock and unlock objects in a safer way than with the CComCriticalSection Class or CComAutoCriticalSection Class.

Requirements

Header: atlbase.h

See Also

Concepts

CComCritSecLock Members

CComCriticalSection Class

CComAutoCriticalSection Class