34 #ifndef GRPC_INTERNAL_CPP_THREAD_POOL_INTERFACE_H
35 #define GRPC_INTERNAL_CPP_THREAD_POOL_INTERFACE_H
47 virtual void Add(
const std::function<
void()>& callback) = 0;
54 #endif // GRPC_INTERNAL_CPP_THREAD_POOL_INTERFACE_H
virtual void Add(const std::function< void()> &callback)=0
ThreadPoolInterface * CreateDefaultThreadPool()
Definition: create_default_thread_pool.cc:42
Definition: thread_pool_interface.h:42
virtual ~ThreadPoolInterface()
Definition: thread_pool_interface.h:44