Go to the documentation of this file.
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
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
virtual void Add(const std::function< void()> &callback)=0
void SetCreateThreadPool(CreateThreadPoolFunc func)
Definition: create_default_thread_pool.cc:40
ThreadPoolInterface *(* CreateThreadPoolFunc)(void)
Definition: thread_pool_interface.h:36
ThreadPoolInterface * CreateDefaultThreadPool()
Definition: create_default_thread_pool.cc:38
Definition: thread_pool_interface.h:27