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

Classes | Public Member Functions | Private Attributes

util::RWLockHandle Class Reference

#include <AutoLock.h>

Inheritance diagram for util::RWLockHandle:
Inheritance graph
Collaboration diagram for util::RWLockHandle:
Collaboration graph

List of all members.


struct  Data

Public Member Functions

virtual bool isWriteLockOnCurrentThread () const
virtual void lockRead (LOCKVAL_SRC_POS_DECL)
virtual void lockWrite (LOCKVAL_SRC_POS_DECL)
 RWLockHandle (VBoxLockingClass lockClass)
virtual void unlockRead ()
virtual void unlockWrite ()
virtual uint32_t writeLockLevel () const

Private Attributes


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 155 of file AutoLock.h.

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

Generated by  Doxygen 1.6.0   Back to index