Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MNMutex Class Reference

#include <MNMutex.h>

List of all members.

Public Member Functions

 MNMutex ()
 ~MNMutex ()
void lock ()
void unlock ()

Protected Attributes

mnthread_mutex_t lck


Detailed Description

Regular mutex class.
This class hides the mnthread functions for mutex (mutual exclusion).


Constructor & Destructor Documentation

MNMutex::MNMutex  ) 
 

Constructor.
The constructor initializes the mutex object. Initially the mutex is always unlocked.

MNMutex::~MNMutex  ) 
 

Destructor.
The destructor releases the posix mutex object.


Member Function Documentation

void MNMutex::lock  ) 
 

Lock the mutex.

void MNMutex::unlock  ) 
 

Release the mutex.


Member Data Documentation

mnthread_mutex_t MNMutex::lck [protected]
 


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:35:57 2005 for Komssys by doxygen 1.3.8