Searched refs:DynamicThreadPool (Results 1 – 3 of 3) sorted by relevance
29 DynamicThreadPool::DynamicThread::DynamicThread(DynamicThreadPool* pool) in DynamicThread()33 static_cast<DynamicThreadPool::DynamicThread*>(th)->ThreadFunc(); in DynamicThread()38 DynamicThreadPool::DynamicThread::~DynamicThread() { thd_.Join(); } in ~DynamicThread()40 void DynamicThreadPool::DynamicThread::ThreadFunc() { in ThreadFunc()53 void DynamicThreadPool::ThreadFunc() { in ThreadFunc()79 DynamicThreadPool::DynamicThreadPool(int reserve_threads) in DynamicThreadPool() function in grpc::DynamicThreadPool91 void DynamicThreadPool::ReapThreads(std::list<DynamicThread*>* tlist) { in ReapThreads()97 DynamicThreadPool::~DynamicThreadPool() { in ~DynamicThreadPool()107 void DynamicThreadPool::Add(const std::function<void()>& callback) { in Add()
35 class DynamicThreadPool final : public ThreadPoolInterface {37 explicit DynamicThreadPool(int reserve_threads);38 ~DynamicThreadPool();45 DynamicThread(DynamicThreadPool* pool);49 DynamicThreadPool* pool_;
31 return new DynamicThreadPool(cores); in CreateDefaultThreadPoolImpl()