cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
Loading...
Searching...
No Matches
stat_bench::util::ISyncBarrier Class Referenceabstract

Interface of barriers to synchronize threads. More...

#include <stat_bench/util/sync_barrier.h>

+ Inheritance diagram for stat_bench::util::ISyncBarrier:
+ Collaboration diagram for stat_bench::util::ISyncBarrier:

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.
 

Detailed Description

Interface of barriers to synchronize threads.

Definition at line 31 of file sync_barrier.h.

Member Function Documentation

◆ wait()

virtual void stat_bench::util::ISyncBarrier::wait ( )
pure virtual

Wait for other threads.

Implemented in stat_bench::util::PthreadSyncBarrier, and stat_bench::util::WindowsSyncBarrier.


The documentation for this class was generated from the following file: