10 #ifndef EIGEN_CXX11_THREADPOOL_THREAD_POOL_INTERFACE_H 11 #define EIGEN_CXX11_THREADPOOL_THREAD_POOL_INTERFACE_H 14 #include "./InternalHeaderCheck.h" 20 class ThreadPoolInterface {
23 virtual void Schedule(std::function<
void()> fn) = 0;
27 virtual void ScheduleWithHint(std::function<
void()> fn,
int ,
int ) {
36 virtual void Cancel() {}
39 virtual int NumThreads()
const = 0;
43 virtual int CurrentThreadId()
const = 0;
45 virtual ~ThreadPoolInterface() {}
50 #endif // EIGEN_CXX11_THREADPOOL_THREAD_POOL_INTERFACE_H Namespace containing all symbols from the Eigen library.
Definition: B01_Experimental.dox:1