tables_in_parallel_t.cc
Go to the documentation of this file.
1 #include "fhiclcpp/types/Atom.h"
2 #include "fhiclcpp/types/Table.h"
3 #include "hep_concurrency/simultaneous_function_spawner.h"
4 
5 using namespace hep::concurrency;
6 
7 namespace {
8  struct Config {
9  fhicl::Atom<bool> flag{fhicl::Name{"Name"}};
10  };
11 }
12 
13 int
15 {
16  auto make_table = [] { fhicl::Table<Config> config{fhicl::Name{"Top"}}; };
17  simultaneous_function_spawner sfs{repeated_task(10, make_table)};
18 }
typename config_impl< T >::type Config
Definition: ModuleMacros.h:52
static Config * config
Definition: config.cpp:1054
int main()