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

Public Member Functions | Protected Member Functions | Protected Attributes

util::AutoWriteLockBase Class Reference

#include <AutoLock.h>

Inheritance diagram for util::AutoWriteLockBase:
Inheritance graph
Collaboration diagram for util::AutoWriteLockBase:
Collaboration graph

List of all members.

Public Member Functions

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

Protected Member Functions

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

Protected Attributes


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

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

Generated by  Doxygen 1.6.0   Back to index