Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | Class Members | Related Pages

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 10 18:35:43 2005 for SigCX - SigC++ Extras by  doxygen 1.4.2