9 #ifndef CROMBIETOOLS_COMMONTOOLS_PARALLELRUNNER_H 10 #define CROMBIETOOLS_COMMONTOOLS_PARALLELRUNNER_H 63 for (
auto info : infos)
72 std::vector<TThread*> threads;
73 for (decltype(fNumThreads) i_thread = 0; i_thread <
fNumThreads; ++i_thread) {
74 TThread* temp =
new TThread(
RunThread,
this);
75 threads.push_back(temp);
79 for (
auto thread : threads) {
93 running = !runner->file_queue.empty();
95 info = runner->file_queue.top();
96 runner->file_queue.pop();
103 runner->RunFile(info);
106 <<
" Finished: " << info.
fFileName << std::endl;