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;
Definition: thread_pool_interface.h:27
virtual ~ThreadPoolInterface()
Definition: thread_pool_interface.h:29
virtual void Add(const std::function< void()> &callback)=0
This header provides an object that reads bytes directly from a grpc::ByteBuffer, via the ZeroCopyInp...
Definition: alarm.h:24
ThreadPoolInterface * CreateDefaultThreadPool()
Definition: create_default_thread_pool.cc:38
ThreadPoolInterface *(* CreateThreadPoolFunc)(void)
Definition: thread_pool_interface.h:36
void SetCreateThreadPool(CreateThreadPoolFunc func)
Definition: create_default_thread_pool.cc:40