Public Member Functions | |
| Barrier (int numThreads=0) | |
| virtual | ~Barrier () |
| virtual void | reset () |
| virtual void | block (unsigned int numThreads=0) |
| virtual void | release () |
| virtual int | numThreadsCurrentlyBlocked () |
|
|
Constructor |
|
|
Destructor |
|
|
Block until numThreads threads have entered the barrier. |
|
|
Return the number of threads currently blocked in the barrier, Return -1 if error. |
|
|
Release the barrier, now. |
|
|
Reset the barrier to it's original state. |
1.4.2