class
#include <nCine/Threading/ThreadSync.h>
Barrier Barrier for threads synchronization.
Constructors, destructors, conversion operators
-
Barrier(std::
uint32_t count) explicit - Creates a barrier for the specified amount of waiting threads.
- ~Barrier()
- Barrier(const Barrier&) deleted
Public functions
- auto operator=(const Barrier&) -> Barrier& deleted
-
auto Wait() -> std::
int32_t - The calling thread waits at the barrier.