#include <ClusterBarrier.H>
Inherited by IS3D::SemaphoreBarrier, and IS3D::SpinLockBarrier.
Public Member Functions | |
virtual bool | init ()=0 |
Returns true on successful initialization. False if not. | |
virtual void | stop ()=0 |
virtual bool IS3D::ClusterBarrier::init | ( | ) | [pure virtual] |
Returns true on successful initialization. False if not.
Implemented in IS3D::SpinLockBarrierRenderingSide, and IS3D::SemaphoreBarrierRenderingSide.
virtual void IS3D::ClusterBarrier::stop | ( | ) | [pure virtual] |
Calling stop on an MPI-side and on its corresponding Rendering-side barrier guaruntees that both processes will exit this call at the same time. 'Corresponding' barriers are created by calling init() on the barriers in the same order (thus returning equal values from ClusterCreator::nextIPCKey()).
Implemented in IS3D::SpinLockBarrierRenderingSide, and IS3D::SemaphoreBarrierRenderingSide.