CSingleLock::Unlock

Call this member function to release the synchronization object owned by CSingleLock. This function is called by CSingleLock's destructor. If you need to release more than one access count of a semaphore, use the second form of Unlock and specify the number of accesses to release.

Syntax

BOOL Unlock( );

BOOL Unlock( LONG lCount, LPLONG lPrevCount = NULL );

At a Glance

Header file: Afxmt.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CSingleLock Overview, CSingleLock Member Functions, Synchronization Support