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.
BOOL Unlock( );
BOOL Unlock( LONG lCount, LPLONG lPrevCount = NULL );
Header file: | Afxmt.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CSingleLock Overview, CSingleLock Member Functions, Synchronization Support