19 #ifndef GRPC_INTERNAL_CPP_THREAD_POOL_INTERFACE_H 20 #define GRPC_INTERNAL_CPP_THREAD_POOL_INTERFACE_H 32 virtual void Add(
const std::function<
void()>& callback) = 0;
43 #endif // GRPC_INTERNAL_CPP_THREAD_POOL_INTERFACE_H void SetCreateThreadPool(CreateThreadPoolFunc func)
Definition: create_default_thread_pool.cc:40
virtual void Add(const std::function< void()> &callback)=0
ThreadPoolInterface * CreateDefaultThreadPool()
Definition: create_default_thread_pool.cc:38
Definition: thread_pool_interface.h:27
ThreadPoolInterface *(* CreateThreadPoolFunc)(void)
Definition: thread_pool_interface.h:36
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
virtual ~ThreadPoolInterface()
Definition: thread_pool_interface.h:29