CComCritSecLock 클래스

이 클래스는 잠금 및 중요 섹션 개체를 잠금 해제 하는 방법을 제공 합니다.

template<
   class TLock
> class CComCritSecLock

매개 변수

  • TLock
    잠그고 잠금을 해제할 개체입니다.

Members

33ydddb1.collapse_all(ko-kr,VS.110).gifPublic 생성자

이름

설명

CComCritSecLock::CComCritSecLock

생성자입니다.

CComCritSecLock:: ~ CComCritSecLock

소멸자

33ydddb1.collapse_all(ko-kr,VS.110).gifPublic 메서드

이름

설명

CComCritSecLock::Lock

잠글 임계 영역 개체에이 메서드를 호출 합니다.

CComCritSecLock::Unlock

임계 영역 개체의 잠금을 해제 하려면이 메서드를 호출 합니다.

설명

이 클래스를 사용할 때 보다 더 안전한 방식으로 개체를 잠금 해제 하는 CComCriticalSection 클래스 또는 CComAutoCriticalSection 클래스.

요구 사항

헤더: atlbase.h

참고 항목

참조

CComCriticalSection 클래스

CComAutoCriticalSection 클래스