SigCX::Threads::MLock Class Reference
[Threading]

MLock class. More...

#include <thread.h>

List of all members.

Public Member Functions

 MLock (Mutex &mutex)
 ~MLock ()


Detailed Description

MLock class.

A lazy way to unlock at end of scope.


Constructor & Destructor Documentation

SigCX::Threads::MLock::MLock ( Mutex mutex  )  [inline]

Constructor.

Parameters:
mutex A mutex to be locked.

SigCX::Threads::MLock::~MLock (  )  [inline]

Destructor.

The mutex passed to the constructor is unlocked.


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

Generated on Sun Apr 6 04:07:16 2008 for SigCX - SigC++ Extras by  doxygen 1.5.5