Поделиться через


CComCriticalSection::Unlock

Calls the Win32 function LeaveCriticalSection, which releases ownership of the critical section object contained in the m_sec data member.

HRESULT Unlock( ) throw( );

Возвращаемое значение

Returns S_OK.

Заметки

To first obtain ownership, the thread must call the Lock method. Each call to Lock requires a corresponding call to Unlock to release ownership of the critical section.

Требования

Header: atlcore.h

См. также

Основные понятия

CComCriticalSection Class

CComCriticalSection Members