Class CWin32ReadWriteLock::
UnlockWrite()
Base ClassesData ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: UnlockReadNext page: Custom Code in Header Before Includes    Show member index
Public Function Declared in:
Win32ReadWriteLock.h

'Declaration' icon -- Shortcut to top of page. Declaration

virtual void UnlockWrite();

'Description' icon -- Shortcut to top of page. Description

Unlock for reading

'Function Body' icon -- Shortcut to top of page. Function Body

//First lock the mutex and check the read flag
CMutexAutoRelease aRelease(m_pMutex,TRUE);

//Do we have readers
if (m_bWriter)
{
    //Not writing
    m_bWriter=FALSE;

    //Remove escalation flag
    m_bEscalation=FALSE;
}

'See Also' icon -- Shortcut to top of page. See Also

Class Overview Class Overview  |  Public base class CGenericReadWriteLock  |  Hierarchy Chart Hierarchy Chart


Get Surveyor!This web site was generated using Surveyor V4.50.811.1.  Click here for more information. Site content copyright © 2003 Komodia LTD.. See the About page for additional notices. This page last updated: 24 Feb 2003.