Public Member Functions | Public Attributes

executive::CTABarrier Class Reference

#include <CTAContext.h>

List of all members.

Public Member Functions

 CTABarrier ()
 CTABarrier (size_t size)
void initialize (size_t size)
void setParticipating (size_t size)
bool satisfied () const
void arrive (const boost::dynamic_bitset<> &threads)
void clear ()

Public Attributes

size_t participating
boost::dynamic_bitset arrived

Constructor & Destructor Documentation

executive::CTABarrier::CTABarrier ( ) [inline]
executive::CTABarrier::CTABarrier ( size_t  size) [inline]

Member Function Documentation

void executive::CTABarrier::arrive ( const boost::dynamic_bitset<> &  threads) [inline]
void executive::CTABarrier::clear ( ) [inline]
void executive::CTABarrier::initialize ( size_t  size) [inline]
bool executive::CTABarrier::satisfied ( ) const [inline]

returns true if enough threads have reached the barrier

void executive::CTABarrier::setParticipating ( size_t  size) [inline]

Member Data Documentation

boost::dynamic_bitset executive::CTABarrier::arrived

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines