ATLAS Offline Software
PhysicsAnalysis/D3PDTools/EventLoopGrid/Root/pool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //-*- mode: c++ -*-
6 #ifndef EVENT_LOOP_GRID_POOL_H
7 #define EVENT_LOOP_GRID_POOL_H
8 
9 #include <functional>
10 #include <vector>
11 
12 using WorkUnit = std::function<void(void)>;
13 using WorkList = std::vector<WorkUnit>;
14 
15 void process(const WorkList& workList, const size_t nThreads);
16 
17 #endif //EVENT_LOOP_GRID_POOL_H
WorkUnit
std::function< void(void)> WorkUnit
Definition: PhysicsAnalysis/D3PDTools/EventLoopGrid/Root/pool.h:12
DoubleEventSelectorOverlayTest.nThreads
nThreads
Definition: DoubleEventSelectorOverlayTest.py:83
process
void process(const WorkList &workList, const size_t nThreads)
Definition: pool.cxx:44
WorkList
std::vector< WorkUnit > WorkList
Definition: PhysicsAnalysis/D3PDTools/EventLoopGrid/Root/pool.h:13