Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

util::RWLockHandle Class Reference

#include <AutoLock.h>

Inheritance diagram for util::RWLockHandle:

util::LockHandle util::ReadLockOps util::WriteLockOps util::LockOps util::LockOps

List of all members.


Detailed Description

Full-featured read/write semaphore handle implementation.

This is an auxiliary base class for classes that need full-featured read/write locking as described in the AutoWriteLock class documentation. Instances of classes inherited from this class can be passed as arguments to the AutoWriteLock and AutoReadLock constructors.

Definition at line 161 of file AutoLock.h.


Public Member Functions

bool isWriteLockOnCurrentThread () const
LockOpsrlock ()
LockOpswlock ()

Protected Member Functions

void lock ()
void lock ()
void unlock ()
void unlock ()

Private Member Functions

void lockRead ()
void lockWrite ()
void unlockRead ()
void unlockWrite ()
uint32_t writeLockLevel () const

Private Attributes

RTSEMRW mSemRW

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

Generated by  Doxygen 1.6.0   Back to index