FeeServer::Guard Class Reference
[Threading classes]

#include <feeserver/fee_lock.hh>

Collaboration diagram for FeeServer::Guard:

Collaboration graph
[legend]

List of all members.


Detailed Description

Class to lock a mutex in a scope.
Examples:

test_threads.cc.


Public Member Functions

 Guard (Mutex &mutex)
 ~Guard ()

Protected Attributes

Mutex_mutex

Constructor & Destructor Documentation

FeeServer::Guard::Guard ( Mutex mutex  ) 

Constructor. Locks the mutex passed

FeeServer::Guard::~Guard (  ) 

Destructor. Unlocks the mutex passed


Member Data Documentation


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

Generated on Thu Jun 26 17:02:30 2008 for FeeServer++ 0.9 by  doxygen 1.5.6