OpenThreads
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OpenThreads::ReadWriteMutex Class Reference

Public Member Functions

 ReadWriteMutex ()
 
virtual ~ReadWriteMutex ()
 
virtual int readLock ()
 
virtual int readUnlock ()
 
virtual int writeLock ()
 
virtual int writeUnlock ()
 

Protected Member Functions

 ReadWriteMutex (const ReadWriteMutex &)
 
ReadWriteMutexoperator= (const ReadWriteMutex &)
 

Protected Attributes

OpenThreads::Mutex _readWriteMutex
 
OpenThreads::Mutex _readCountMutex
 
unsigned int _readCount
 

Constructor & Destructor Documentation

OpenThreads::ReadWriteMutex::ReadWriteMutex ( )
inline
virtual OpenThreads::ReadWriteMutex::~ReadWriteMutex ( )
inlinevirtual
OpenThreads::ReadWriteMutex::ReadWriteMutex ( const ReadWriteMutex )
inlineprotected

Member Function Documentation

ReadWriteMutex& OpenThreads::ReadWriteMutex::operator= ( const ReadWriteMutex )
inlineprotected
virtual int OpenThreads::ReadWriteMutex::readLock ( )
inlinevirtual
virtual int OpenThreads::ReadWriteMutex::readUnlock ( )
inlinevirtual
virtual int OpenThreads::ReadWriteMutex::writeLock ( )
inlinevirtual
virtual int OpenThreads::ReadWriteMutex::writeUnlock ( )
inlinevirtual

Member Data Documentation

unsigned int OpenThreads::ReadWriteMutex::_readCount
protected
OpenThreads::Mutex OpenThreads::ReadWriteMutex::_readCountMutex
protected
OpenThreads::Mutex OpenThreads::ReadWriteMutex::_readWriteMutex
protected

The documentation for this class was generated from the following file:

osg logo
Generated at Wed Nov 11 2015 22:28:36 for the OpenThreads by doxygen 1.8.10.