13 #ifndef EIGEN_CXX11_THREADPOOL_BARRIER_H
14 #define EIGEN_CXX11_THREADPOOL_BARRIER_H
28 unsigned int v =
state_.fetch_sub(2, std::memory_order_acq_rel) - 2;
43 unsigned int v =
state_.fetch_or(1, std::memory_order_acq_rel);
44 if ((
v >> 1) == 0)
return;
Array< int, Dynamic, 1 > v
#define eigen_plain_assert(condition)
std::atomic< unsigned int > state_
Barrier(unsigned int count)