00001
00002 #ifndef EVENT_LOOP_GRID_POOL_H
00003 #define EVENT_LOOP_GRID_POOL_H
00004
00005 #include <functional>
00006 #include <vector>
00007
00008 using WorkUnit = std::function<void(void)>;
00009 using WorkList = std::vector<WorkUnit>;
00010
00011 void process(const WorkList& workList, const size_t nThreads);
00012
00013 #endif //EVENT_LOOP_GRID_POOL_H