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

util::AutoWriteLockBase Class Reference

#include <AutoLock.h>

Inheritance diagram for util::AutoWriteLockBase:

util::AutoLockBase util::AutoMultiWriteLock2 util::AutoMultiWriteLock3 util::AutoWriteLock

List of all members.

Detailed Description

Base class for all auto write locks.

This cannot be used directly. Use AutoWriteLock or AutoMultiWriteLock2/3 which derive from this.

In addition to utility methods for subclasses, this implements the public leave/enter methods, which are common to all write locks.

Definition at line 405 of file AutoLock.h.

Public Member Functions

void acquire ()
void enter ()
void leave ()
void release ()

Protected Member Functions

 AutoWriteLockBase (uint32_t cHandles, LockHandle *pHandle COMMA_LOCKVAL_SRC_POS_DECL)
 AutoWriteLockBase (uint32_t cHandles COMMA_LOCKVAL_SRC_POS_DECL)
virtual void callLockImpl (LockHandle &l)
void callLockOnAllHandles ()
virtual void callUnlockImpl (LockHandle &l)
void callUnlockOnAllHandles ()
void cleanup ()

Protected Attributes

Data * m

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

Generated by  Doxygen 1.6.0   Back to index