#include <ThreadBarrier.hpp>
Public Member Functions | |
ThreadBarrier (UInt32 threshold) | |
Constructor. | |
void | wait () |
Synchronize participating threads at the barrier. | |
~ThreadBarrier () | |
ThreadBarrier (const ThreadBarrier &x) | |
ThreadBarrier & | operator= (const ThreadBarrier &x) |
Private Attributes | |
IntrusiveReference< ThreadBarrierImpl > | m_impl |
Each thread that calls wait() will block until threshold number of threads has called wait() This class is freely copyable. All copies reference the same underlying implementation.
Definition at line 54 of file ThreadBarrier.hpp.
|
Constructor.
Definition at line 163 of file ThreadBarrier.cpp. References BLOCXX_ASSERT. |
|
Definition at line 174 of file ThreadBarrier.cpp. |
|
Definition at line 178 of file ThreadBarrier.cpp. |
|
Definition at line 183 of file ThreadBarrier.cpp. References m_impl. |
|
Synchronize participating threads at the barrier. The calling thread shall block until the required number of threads have called wait().
Definition at line 169 of file ThreadBarrier.cpp. References m_impl. Referenced by BLOCXX_NAMESPACE::Thread::start(), and BLOCXX_NAMESPACE::Thread::threadRunner(). |
|
Definition at line 80 of file ThreadBarrier.hpp. Referenced by operator=(), and wait(). |