cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
|
Interface of barriers to synchronize threads. More...
#include <stat_bench/util/sync_barrier.h>
Public Member Functions | |
ISyncBarrier (const ISyncBarrier &)=delete | |
ISyncBarrier (ISyncBarrier &&)=delete | |
virtual | ~ISyncBarrier ()=default |
Destructor. | |
auto | operator= (const ISyncBarrier &)=delete |
auto | operator= (ISyncBarrier &&)=delete |
virtual void | wait ()=0 |
Wait for other threads. | |
Protected Member Functions | |
ISyncBarrier ()=default | |
Constructor. | |
Interface of barriers to synchronize threads.
Definition at line 31 of file sync_barrier.h.
|
pure virtual |
Wait for other threads.
Implemented in stat_bench::util::PthreadSyncBarrier, and stat_bench::util::WindowsSyncBarrier.