#include <PoomaCSem.h>
Public Member Functions | |
CountingSemaphore () | |
CountingSemaphore (const CountingSemaphore &model) | |
CountingSemaphore & | operator= (const CountingSemaphore &model) |
void | wait () const |
int | count () const |
int | height () const |
void | height (int d) |
void | raise_height (int d) |
void | incr () |
CountingSemaphore & | operator++ () |
int | operator+= (int d) |
Pooma::CountingSemaphore::CountingSemaphore | ( | ) | [inline] |
Pooma::CountingSemaphore::CountingSemaphore | ( | const CountingSemaphore & | model | ) | [inline] |
CountingSemaphore& Pooma::CountingSemaphore::operator= | ( | const CountingSemaphore & | model | ) | [inline] |
void Pooma::CountingSemaphore::wait | ( | ) | const [inline] |
References PAssert.
Referenced by Reduction< RemoteMultiPatchEvaluatorTag >::evaluate(), Reduction< RemoteSinglePatchEvaluatorTag >::evaluate(), Reduction< SinglePatchEvaluatorTag >::evaluate(), ParticleEvaluator::evaluate2Block(), ParticleEvaluator::evaluate3Block(), and ParticleEvaluator::evaluateBlock().
int Pooma::CountingSemaphore::count | ( | ) | const [inline] |
int Pooma::CountingSemaphore::height | ( | ) | const [inline] |
void Pooma::CountingSemaphore::height | ( | int | d | ) | [inline] |
void Pooma::CountingSemaphore::raise_height | ( | int | d | ) | [inline] |
void Pooma::CountingSemaphore::incr | ( | ) | [inline] |
Referenced by Reduction< RemoteSinglePatchEvaluatorTag >::evaluate(), operator++(), ParticleKernel3Block< Array1, Array2, Array3, Function >::run(), ParticleKernel2Block< Array1, Array2, Function >::run(), ParticleKernelBlock< Array, Function >::run(), and ReductionKernel< T, Op, Expr, KernelTag >::~ReductionKernel().
CountingSemaphore& Pooma::CountingSemaphore::operator++ | ( | ) | [inline] |
References incr().
int Pooma::CountingSemaphore::operator+= | ( | int | d | ) | [inline] |