10 #ifndef EIGEN_CXX11_THREADPOOL_THREAD_POOL_INTERFACE_H 11 #define EIGEN_CXX11_THREADPOOL_THREAD_POOL_INTERFACE_H 17 class ThreadPoolInterface {
20 virtual void Schedule(std::function<
void()> fn) = 0;
24 virtual void ScheduleWithHint(std::function<
void()> fn,
int ,
34 virtual void Cancel() {}
37 virtual int NumThreads()
const = 0;
41 virtual int CurrentThreadId()
const = 0;
43 virtual ~ThreadPoolInterface() {}
48 #endif // EIGEN_CXX11_THREADPOOL_THREAD_POOL_INTERFACE_H Namespace containing all symbols from the Eigen library.