24#ifndef vtkSMPThreadPool_h
25#define vtkSMPThreadPool_h
27#include "vtkCommonCoreModule.h"
30#include <condition_variable>
49 void DoJob(std::function<
void(
void)> job);
57 std::condition_variable ConditionVariable;
58 std::queue<std::function<void(
void)>> JobQueue;
59 std::vector<std::thread> Threads;
void DoJob(std::function< void(void)> job)
vtkSMPThreadPool(int ThreadNumber)
Specialization of tuple ranges and iterators for vtkAOSDataArrayTemplate.