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

mutex Class Reference

Inherited by seda_stage_base [protected].

List of all members.

Detailed Description

A non-recusive mutual-exclusion lock.

You should never call lock() or unlock() on a mutex directly; instead use the guard class or the locking(x) macro:

 mutex my_mutex;

 int my_function()
     locking(my_mutex) {

Public Methods

 mutex ()

 ~mutex ()

void lock ()
 Acquires the lock.

void unlock ()
 Releases the lock.


class condition

Constructor & Destructor Documentation





Member Function Documentation

void mutex::lock  

Acquires the lock.

void mutex::unlock  

Releases the lock.

Friends And Related Function Documentation

friend class condition [friend]

The documentation for this class was generated from the following file:
Generated on Fri Dec 20 13:35:10 2002 for NMSTL