ATLAS Offline Software
Loading...
Searching...
No Matches
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
12using WorkUnit = std::function<void(void)>;
13using WorkList = std::vector<WorkUnit>;
14
15void process(const WorkList& workList, const size_t nThreads);
16
17#endif //EVENT_LOOP_GRID_POOL_H
std::vector< WorkUnit > WorkList
std::function< void(void)> WorkUnit
const std::string process