Dv::Thread::Barrier Class Reference
A simple Barrier class using posix barriers.
More...
#include <barrier.h>
List of all members.
Detailed Description
A simple Barrier class using posix barriers.
Note that in the present version, a Barrier can only be used once.
- See also:
- Dv::Thread::Thread
Constructor & Destructor Documentation
Dv::Thread::Barrier::Barrier |
( |
size_t |
n_threads |
) |
|
Constructor.
- Parameters:
-
| n_threads | how many threads will have to wait on this barrier before it comes down. |
virtual Dv::Thread::Barrier::~Barrier |
( |
|
) |
[virtual] |
Dv::Thread::Barrier::Barrier |
( |
const Barrier & |
|
) |
[private] |
Member Function Documentation
void Dv::Thread::Barrier::wait |
( |
|
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: