40 auto operator=(
const ISyncBarrier&) =
delete;
41 auto operator=(ISyncBarrier&&) =
delete;
60 -> std::shared_ptr<ISyncBarrier>;
69 -> std::shared_ptr<ISyncBarrier>;
virtual void wait()=0
Wait for other threads.
ISyncBarrier()=default
Constructor.
virtual ~ISyncBarrier()=default
Destructor.
Namespace of utility functions and classes.
auto create_mutex_sync_barrier(std::size_t num_waiting_threads) -> std::shared_ptr< ISyncBarrier >
Create a barrier to synchronize threads using a mutex.
auto create_sync_barrier(std::size_t num_waiting_threads) -> std::shared_ptr< ISyncBarrier >
Create a barrier to synchronize threads.
Namespace of stat_bench source codes.