Classes | |
| class | ExcBarrierSizeNotUseful |
Public Member Functions | |
| DummyBarrier (const unsigned int count, const char *name=0, void *arg=0) | |
| int | wait () |
| void | dump () |
count argument denoting the number of threads that need to be synchronised is not equal to one.
| Threads::DummyBarrier::DummyBarrier | ( | const unsigned int | count, | |
| const char * | name = 0, |
|||
| void * | arg = 0 | |||
| ) |
Constructor. Since barriers are only useful in single-threaded mode if the number of threads to be synchronised is one, this constructor raises an exception if the count argument is one.
| int Threads::DummyBarrier::wait | ( | ) | [inline] |
Wait for all threads to reach this point. Since there may only be one thread, return immediately, i.e. this function is a no-op.
| void Threads::DummyBarrier::dump | ( | ) | [inline] |
Dump the state of this object. Here: do nothing.
documentation generated on Sat Aug 15 16:52:49 2009 by
doxygen
1.5.9