Barrier Class Reference

#include <Thread.H>

Inheritance diagram for Barrier:

Inheritance graph
[legend]
Collaboration diagram for Barrier:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Barrier (int cnt=0)
void init (int cnt)
void wait ()

Protected Member Functions

void signal ()
void broadcast ()
void lock ()
void unlock ()
bool trylock ()


Constructor & Destructor Documentation

Barrier::Barrier ( int  cnt = 0  )  [explicit]

References init().


Member Function Documentation

void Barrier::init ( int  cnt  ) 

References THREAD_ASSERT.

Referenced by Barrier().

void Barrier::wait (  ) 

void ConditionVariable::signal (  )  [inline, inherited]

Referenced by Semaphore::post(), and SemaphoreB::up().

void ConditionVariable::broadcast (  )  [inline, inherited]

void ConditionVariable::lock (  )  [inline, inherited]

void ConditionVariable::unlock (  )  [inline, inherited]

bool ConditionVariable::trylock (  )  [inherited]


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

Generated on Fri Nov 21 10:11:00 2008 for AMRParticlePaths by  doxygen 1.5.5