Class CRWAutoRelease::
CRWAutoRelease()
Data ItemsConstructorsDestructorsFunctionsCustom CodeGo to hierarchy chart    Prev page: CRWAutoReleaseNext page: ~CRWAutoRelease    Show member index
Public Constructor Declared in:
RWAutoRelease.h

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

CRWAutoRelease(
    CGenericReadWriteLock* pLock,
    BOOL bRead=TRUE,
    BOOL bLock=FALSE);

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

Ctor and Dtor bRead - Lock it for reading bLock - Lock it at start

'Initializer Override(s)' icon -- Shortcut to top of page. Initializer Override(s)

m_pLock(
pLock)    
m_bLockedRead(
FALSE)    
m_bLockedWrite(
FALSE)    
m_bEscalated(
FALSE)    

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

//Do we need to lock
if (bLock)
    if (bRead)
        if (LockRead())
            m_bLockedRead=TRUE;
        else
            ;
    else
        if (LockWrite())
            m_bLockedWrite=TRUE;

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

Class Overview Class Overview  |  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.