LDK::Lock Class Reference
[Threading]

Automatically locks and unlocks a Mutex using c++ scope rules.

#include <LDK/Mutex.h>

Collaboration diagram for LDK::Lock:

Collaboration graph
[legend]

Public Member Functions

 Lock (Mutex &mtx)
 ~Lock ()
 Destructor. Unlocks the mutex.

Detailed Description

Definition at line 68 of file Mutex.h.


Constructor & Destructor Documentation

LDK::Lock::Lock ( Mutex mtx  )  [inline]

Constructor. Locks the mutex.

Parameters:
mtx The mutex that is to be locked.

Definition at line 77 of file Mutex.h.


The documentation for this class was generated from the following file:
Generated on Fri Aug 17 18:32:27 2007 for LDK by  doxygen 1.5.1