47 std::vector<std::thread>
pool;
55 std::this_thread::sleep_for(std::chrono::duration<double, std::nano>(500));
56 auto h =
ts_h.SnapshotMerge();
57 std::cout <<
"Entries for the snapshot " <<
h->GetEntries() << std::endl;
74 std::cout <<
"Entries for the total sum " <<
sumRandomHisto->GetEntries() << std::endl;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
A wrapper to make object instances thread private, lazily.
Random number generator class based on M.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
void EnableThreadSafety()
Enable support for multi-threading within the ROOT code in particular, enables the global mutex to ma...