Semaphore Class Reference

#include <Thread.H>

Inheritance diagram for Semaphore:

Inheritance graph
[legend]
Collaboration diagram for Semaphore:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Semaphore (int val_=1)
void wait ()
bool trywait ()
void post ()

Protected Member Functions

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


Constructor & Destructor Documentation

Semaphore::Semaphore ( int  val_ = 1  )  [explicit]


Member Function Documentation

void Semaphore::wait (  ) 

bool Semaphore::trywait (  ) 

void Semaphore::post (  ) 

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

Referenced by 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:03 2008 for AMRParticlePaths by  doxygen 1.5.5