Definition at line 20 of file Barrier.h.
◆ Barrier()
Eigen::Barrier::Barrier |
( |
unsigned int |
count | ) |
|
|
inline |
Definition at line 22 of file Barrier.h.
#define eigen_plain_assert(condition)
std::atomic< unsigned int > state_
◆ ~Barrier()
Eigen::Barrier::~Barrier |
( |
| ) |
|
|
inline |
◆ Notify()
void Eigen::Barrier::Notify |
( |
| ) |
|
|
inline |
Definition at line 27 of file Barrier.h.
28 unsigned int v =
state_.fetch_sub(2, std::memory_order_acq_rel) - 2;
Array< int, Dynamic, 1 > v
◆ Wait()
void Eigen::Barrier::Wait |
( |
| ) |
|
|
inline |
Definition at line 42 of file Barrier.h.
43 unsigned int v =
state_.fetch_or(1, std::memory_order_acq_rel);
44 if ((
v >> 1) == 0)
return;
◆ cv_
◆ mu_
◆ notified_
bool Eigen::Barrier::notified_ |
|
private |
◆ state_
std::atomic<unsigned int> Eigen::Barrier::state_ |
|
private |
The documentation for this class was generated from the following file: