cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
Loading...
Searching...
No Matches
sync_barrier.h File Reference

Definition of SyncBarrier class. More...

#include <cstddef>
#include <memory>
+ Include dependency graph for sync_barrier.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  stat_bench::util::ISyncBarrier
 Interface of barriers to synchronize threads. More...
 

Namespaces

namespace  stat_bench
 Namespace of stat_bench source codes.
 
namespace  stat_bench::util
 Namespace of utility functions and classes.
 

Functions

auto stat_bench::util::create_mutex_sync_barrier (std::size_t num_waiting_threads) -> std::shared_ptr< ISyncBarrier >
 Create a barrier to synchronize threads using a mutex.
 
auto stat_bench::util::create_sync_barrier (std::size_t num_waiting_threads) -> std::shared_ptr< ISyncBarrier >
 Create a barrier to synchronize threads.
 

Detailed Description

Definition of SyncBarrier class.

Definition in file sync_barrier.h.