Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

eqn_cruncher::pthr_lock Class Reference

This is a thin wrapper around the pthread mutex API. More...

#include <concurrence.hpp>

List of all members.

Public Methods

 pthr_lock ()
 Default constructs a pthread mutex.

 ~pthr_lock ()
 Destroys the pthread mutex object, and frees the associated resources.

void lock ()
 Locks the pthread mutex.

void unlock ()
 Unlocks the pthread mutex.


Detailed Description

This is a thin wrapper around the pthread mutex API.


Constructor & Destructor Documentation

eqn_cruncher::pthr_lock::pthr_lock   [inline]
 

Default constructs a pthread mutex.

eqn_cruncher::pthr_lock::~pthr_lock   [inline]
 

Destroys the pthread mutex object, and frees the associated resources.


Member Function Documentation

void eqn_cruncher::pthr_lock::lock   [inline]
 

Locks the pthread mutex.

void eqn_cruncher::pthr_lock::unlock   [inline]
 

Unlocks the pthread mutex.


The documentation for this class was generated from the following file:
Generated on Mon Oct 11 13:09:26 2004 for Equation Cruncher by doxygen1.2.18