cpp-stat-bench 0.24.0
Benchmark library with statistics for C++.
|
Implementation of SyncBarrier class. More...
#include "stat_bench/util/sync_barrier.h"
#include <condition_variable>
#include <memory>
#include <mutex>
#include "stat_bench/stat_bench_exception.h"
Go to the source code of this file.
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. | |
Implementation of SyncBarrier class.
Definition in file sync_barrier.cpp.