13 assert((threads > 0) &&
"Count of barrier threads must be greater than zero!");
19 int generation = _generation;
36 while ((generation == _generation) || (_counter == 0));
bool Wait() noexcept
Wait at the barrier until all other threads reach this barrier.
SpinBarrier(int threads) noexcept
Default class constructor.
C++ Common project definitions.