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

util::LockHandle Class Reference

#include <AutoLock.h>

Inheritance diagram for util::LockHandle:

util::RWLockHandle util::WriteLockHandle

List of all members.

Detailed Description

Abstract base class for semaphore handles (RWLockHandle and WriteLockHandle). Don't use this directly, but this implements lock validation for them.

Definition at line 107 of file AutoLock.h.

Public Member Functions

virtual bool isWriteLockOnCurrentThread () const =0
virtual void lockRead (LOCKVAL_SRC_POS_DECL)=0
virtual void lockWrite (LOCKVAL_SRC_POS_DECL)=0
virtual void unlockRead ()=0
virtual void unlockWrite ()=0
virtual uint32_t writeLockLevel () const =0

Private Member Functions

 LockHandle (const LockHandle &)
LockHandleoperator= (const LockHandle &)

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

Generated by  Doxygen 1.6.0   Back to index