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
An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided ...
Definition: alarm.h:33
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