nCine::Barrier class

Barrier for threads synchronization.

Constructors, destructors, conversion operators

Barrier(unsigned int count) explicit
Creates a barrier for the specified amount of waiting threads.
~Barrier()

Public functions

auto Wait() -> int
The calling thread waits at the barrier.