10#ifndef EIGEN_CXX11_THREADPOOL_THREAD_POOL_INTERFACE_H
11#define EIGEN_CXX11_THREADPOOL_THREAD_POOL_INTERFACE_H
14#include "./InternalHeaderCheck.h"
20class 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() {}
Namespace containing all symbols from the Eigen library.
Definition Core:137