csp::BarrierError Class Reference

Inheritance diagram for csp::BarrierError:

csp::CPPCSPError List of all members.

Detailed Description

An error that is thrown when the Barrier or BarrierEnd classes are mis-used.

The most common causes of this exception are that you tried to call BarrierEnd.sync() without being enrolled on a barrier, that you destroyed a BarrierEnd while it was still enrolled on the barrier, or that you destroyed a Barrier while there will still processes enrolled on it.

All of the causes of BarrierError being thrown mean that your program is in error. They should not be captured and ignored, but instead your program should be changed to make sure this error will not happen again. Letting these errors remain may lead to synchronizations not completing, or your program crashing.


Generated on Mon Aug 20 12:24:28 2007 for C++CSP2 by  doxygen 1.4.7