#include <SimultaneousFunctionSpawner.h>
template<typename FunctionToSpawn >
cet::SimultaneousFunctionSpawner::SimultaneousFunctionSpawner |
( |
std::vector< FunctionToSpawn > const & |
fs | ) |
|
|
inline |
Definition at line 50 of file SimultaneousFunctionSpawner.h.
53 auto execute = [
this](
auto f) {
60 std::vector<std::thread>
threads;
62 threads.emplace_back(execute,
f);
65 for (
auto& thread : threads)
std::atomic< std::size_t > counter_
std::atomic<std::size_t> cet::SimultaneousFunctionSpawner::counter_ |
|
private |
The documentation for this class was generated from the following file: